;/*FB_PKG_DELIM*/ __d("ReactPropTransferer",["cr:8910"],(function(a,b,c,d,e,f,g){g["default"]=b("cr:8910")}),98); __d("cloneWithProps_DEPRECATED",["ReactPropTransferer","react","warning"],(function(a,b,c,d,e,f){"use strict";var g,h=g||b("react"),i="children";c=!1;function a(a,c){c=b("ReactPropTransferer").mergeProps(c,a.props);!Object.prototype.hasOwnProperty.call(c,i)&&Object.prototype.hasOwnProperty.call(a.props,i)&&(c.children=a.props.children);return h.createElement(a.type,c)}e.exports=a}),null); __d("AbstractButton.react",["cx","Link.react","cloneWithProps_DEPRECATED","joinClasses","mergeRefs","react"],(function(a,b,c,d,e,f,g,h){var i=["depressed","disabled","image","imageRight","label","labelIsHidden","buttonRef"],j,k=j||(j=d("react"));a=j.Component;b=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e=f+g*2)return;f=f/2+g;g=e/2;e=parseInt(f-g,10);if(a){f=null;c=="left"?f=b("Locale").isRTL()?"right":"left":f=b("Locale").isRTL()?"left":"right";g=parseInt(b("Style").get(d,f),10);b("Style").set(d,f,g-e+"px")}else{a=parseInt(b("Style").get(d,"top"),10);b("Style").set(d,"top",a-e+"px")}};c._repositionArrow=function(c){var d=this._layer.getContentRoot(),e=c.getPosition(),f=i[e];for(var g in h)b("CSS").conditionClass(d,h[g],f===g);if(e=="none")return;this._arrow||(this._arrow=this.__getArrow());b("DOM").contains(d,this._arrow)||b("DOM").appendContent(d,this._arrow);b("Style").set(this._arrow,"top","");b("Style").set(this._arrow,"left","");b("Style").set(this._arrow,"right","");b("Style").set(this._arrow,"margin","");f=a.getOffsetPercent(c);g=a.getOffset(c,f,this._layer);e=a.getOffsetSide(c);b("Style").set(this._arrow,e,f+"%");b("Style").set(this._arrow,"margin-"+e,g+"px")};a.getOffsetPercent=function(a){var b=a.getAlignment();a=a.getPosition();if(a=="above"||a=="below")if(b=="center")return 50;else if(b=="right")return 100;return 0};a.getOffsetSide=function(a){a=a.isVertical();return a?b("Locale").isRTL()?"right":"left":"top"};a.getOffset=function(a,b,c){c=c.getArrowDimensions();var d=c.offset;c=c.length;a=a.getAlignment();d=a=="center"?0:d;d+=c*b/100;a!="left"&&(d*=-1);return d};return a}();e.exports=a}),null); __d("AbstractContextualDialogKeepInViewportBehavior",["ContextualLayerDimensions","Event","Vector","abstractMethod","throttle"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){this._layer=a,this._listeners=[],this._subscription=null,this._minimumTop=null}var c=a.prototype;c.enable=function(){var a=this,b=this._layer.getArrowDimensions();this._arrowOffset=b.offset;b=b.length;this._arrowBuffer=this._arrowOffset+b;this._subscription=this._layer.subscribe(["show","hide","reposition"],function(b,c){if(a._layer.isFixed())return;b=="reposition"?(a._calculateMinimumTop(c),a._adjustForScroll()):b=="show"?(a._attachScroll(),a._adjustForScroll()):a._detachScroll()});this._layer.isShown()&&this._attachScroll()};c.disable=function(){this._layer.isShown()&&this._detachScroll(),this._subscription.unsubscribe(),this._subscription=null};c.__adjustForScroll=function(a,c){return b("abstractMethod")("AbstractContextualDialogArrowBehavior","__adjustForScroll")};c._attachScroll=function(){var a=b("throttle")(this._adjustForScroll.bind(this)),c=this._layer.getContextScrollParent()||window;this._listeners=[b("Event").listen(c,"scroll",a),b("Event").listen(window,"resize",a)]};c._detachScroll=function(){while(this._listeners.length)this._listeners.pop().remove();this._listeners=[]};c._getContentHeight=function(){return!this._layer._contentWrapper?0:b("Vector").getElementDimensions(this._layer._contentWrapper).y};c._getContextY=function(){return b("Vector").getElementPosition(this._layer.getContext()).y};c._calculateMinimumTop=function(a){if(a.isVertical())return;this._minimumTop=this._getContextY()-(this._getContentHeight()-this._arrowBuffer)+a.getOffsetY()};c._adjustForScroll=function(){var a=this._layer.getOrientation(),c=this._layer.getContent();if(a.isVertical()||!c)return;a=b("ContextualLayerDimensions").getViewportRect(this._layer);c=a.b-this._minimumTop;if(c<0)return;a=this._getContentHeight();var d=a-(this._arrowBuffer+this._arrowOffset);d=Math.max(0,Math.min(d,d-(c-a)));this.__adjustForScroll(this._layer,d)};return a}();e.exports=a}),null); __d("AbstractVideoFullscreenControl.react",["cx","AbstractButton.react","joinClasses","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e0||b("DOM").scry(a,'[role="menu"]').length>0))return;var c=b("DOM").scry(a,".layer_close_elem")[0];c||(c=b("DOM").create("a",{className:"accessible_elem layer_close_elem",href:"#",role:"button"},[g._(/*BTDS*/"\u0110\u00f3ng c\u1eeda s\u1ed5 b\u1eadt m\u1edf v\u00e0 quay tr\u1edf l\u1ea1i")]),b("DOM").appendContent(a,c));this.$2=b("Event").listen(c,"click",this.$7.bind(this))};c.$5=function(){this.$2||this.$8()};c.$6=function(){this.$2&&this.$2.remove(),this.$2=null};return a}();e.exports=a}),130); __d("AdsObjectTypes",[],(function(a,b,c,d,e,f){a=Object.freeze({ACCOUNT:"ACCOUNT",ADGROUP:"ADGROUP",AUDIENCE:"AUDIENCE",BUSINESS_ACCOUNT:"BUSINESS_ACCOUNT",CAMPAIGN:"CAMPAIGN",CAMPAIGN_GROUP:"CAMPAIGN_GROUP",CREATION_PACKAGE:"CREATION_PACKAGE",CREATIVE:"CREATIVE",HISTORY:"HISTORY",OPPORTUNITIES:"OPPORTUNITIES",PIXEL:"PIXEL",PRIVACY_INFO_CENTER:"PRIVACY_INFO_CENTER",TRANSACTION:"TRANSACTION",MESSAGES:"MESSAGES"});f["default"]=a}),66); __d("AdsALSubsurface",["AdsObjectTypes"],(function(a,b,c,d,e,f,g){"use strict";var h=(f={},f[c("AdsObjectTypes").CAMPAIGN_GROUP]="campaign",f[c("AdsObjectTypes").CAMPAIGN]="adset",f[c("AdsObjectTypes").ADGROUP]="ad",f);function a(a,b){return a+":"+b}function b(a){var b;if(a==null)return;return(b=h[a])!=null?b:a.toLowerCase()}function d(a){return a}function e(a){return a==null?"":a}g.getFullSurfaceString=a;g.getAdsObjectTypeSubsurface=b;g.getAdObjectLevelSubsurface=d;g.getDynamicSubsurface=e}),98); __d("feature",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){a!=null&&a.length===1||h(0,63155);return a[0]}function b(a){return a}g.feature=a;g.toString=b}),98); __d("AdsALSurfaceMessagePlugin",["feature"],(function(a,b,c,d,e,f,g){"use strict";var h;a={type:"alSurface",key:"msg",logKey:"msg",feature:d("feature").feature(h||(h=babelHelpers.taggedTemplateLiteralLoose(["ABPInfra_DeliveryProducts_Guidance"])))};b=a;g["default"]=b}),98); __d("AdsALMessageSurface.react",["AdsALSubsurface","AdsALSurfaceConditional","AdsALSurfaceMessagePlugin","react"],(function(a,b,c,d,e,f,g){"use strict";var h=["children","moduleId"],i,j=i||d("react");a=function(a){var b=a.children,e=a.moduleId;a=babelHelpers.objectWithoutPropertiesLoose(a,h);return j.jsx(c("AdsALSurfaceConditional"),babelHelpers["extends"]({subsurface:d("AdsALSubsurface").getDynamicSubsurface(e.replace(".react","")),surface:c("AdsALSurfaceMessagePlugin")},a,{capability:babelHelpers["extends"]({},a.capability,{trackVisibilityThreshold:.5}),children:b}))};g.AdsALMessageSurface=a}),98); __d("AgnosticEmbeddedVideoApiComponent",["EventEmitter"],(function(a,b,c,d,e,f,g){a=function(a){function b(b,c){var d;d=a.call(this)||this;d.$AgnosticEmbeddedVideoApiComponent$p_1=b;c("Connect.Unsafe.play",function(){d.emit("play")});c("Connect.Unsafe.pause",function(){d.emit("pause")});c("Connect.Unsafe.seek",function(a,b){d.emit("seek",a,b)});c("Connect.Unsafe.mute",function(){d.emit("mute")});c("Connect.Unsafe.unmute",function(){d.emit("unmute")});c("Connect.Unsafe.setVolume",function(a,b){d.emit("setVolume",a,b)});return d}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.notifyStartedPlaying=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("startedPlaying")};c.notifyFinishedPlaying=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("finishedPlaying")};c.notifyPaused=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("paused")};c.notifyStartedBuffering=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("startedBuffering")};c.notifyFinishedBuffering=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("finishedBuffering")};c.notifyError=function(){this.$AgnosticEmbeddedVideoApiComponent$p_2("error")};c.notifyStateUpdate=function(a){this.$AgnosticEmbeddedVideoApiComponent$p_1({type:"cachedStateUpdateRequest",data:JSON.stringify(a)})};c.notifyVideoAPIReady=function(a){this.$AgnosticEmbeddedVideoApiComponent$p_1({type:"onVideoAPIReady",data:JSON.stringify(a)})};c.$AgnosticEmbeddedVideoApiComponent$p_2=function(a){this.$AgnosticEmbeddedVideoApiComponent$p_1({type:"stateChange",state:a})};return b}(c("EventEmitter"));g["default"]=a}),98); __d("DeferredComponent.react",["createCancelableFunction","react"],(function(a,b,c,d,e,f){var g=["deferredPlaceholder","deferredComponent","onComponentLoad","deferredForcePlaceholder"],h,i=h||b("react");a=function(a){"use strict";function c(b,c){var d;d=a.call(this,b,c)||this;d.cancelableModulesLoaded=function(){};d.$1=function(a){d.setState({ComponentClass:a},function(){d.props.onComponentLoad&&d.props.onComponentLoad(a)})};var e=null;function f(a){e=a}d.props.deferredComponent(f);d.state={ComponentClass:e};return d}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d.componentDidMount=function(){this.cancelableModulesLoaded=b("createCancelableFunction")(this.$1),this.props.deferredComponent(this.cancelableModulesLoaded)};d.componentWillUnmount=function(){this.cancelableModulesLoaded.cancel()};d.render=function(){var a=this.state.ComponentClass;if(!a||this.props.deferredForcePlaceholder)return this.props.deferredPlaceholder;var b=this.props;b.deferredPlaceholder;b.deferredComponent;b.onComponentLoad;b.deferredForcePlaceholder;b=babelHelpers.objectWithoutPropertiesLoose(b,g);return i.jsx(a,babelHelpers["extends"]({},b))};return c}(i.Component);e.exports=a}),null); __d("PerfUtils",["cr:7792","performanceNow","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k=j.Component;function a(a,b,c){var d=function(d){function e(){return d.apply(this,arguments)||this}babelHelpers.inheritsLoose(e,d);var f=e.prototype;f.componentDidMount=function(){b()};f.render=function(){if(c)return j.jsx(a,babelHelpers["extends"]({},this.props,{ref:c}));else return j.jsx(a,babelHelpers["extends"]({},this.props))};return e}(k);return d}function e(a,d,e){var f=1e4;e=(h||(h=c("performanceNow")))()-e;if(e5&&(b=a.slice(0,-1)+(", "+b));return b}function p(a,b){var c;a=(a==null||(c=a.style)==null?void 0:c.animation)||"";a=a.split(",");var d=a.findIndex(function(a){return a.indexOf(b)>-1});d!==-1&&a.splice(d,1);return a.join(",")}c={show:function(a,c){c===void 0&&(c={});var d=c.duration!=null?c.duration/1e3:.3;n(a,i);n(a,j);b("cr:6108").removeClass(a,c.invisible?"invisible_elem":"hidden_elem");b("requestAnimationFrameAcrossTransitions")(function(){a.style.animation=o(a,d,l)});var e=b("cr:5662").listen(a,"animationend",function(){c.callback&&c.callback(),a.style.animation=p(a,l)}),f={cancel:function(){a.style.animation=p(a,l),e.remove(),f.cancel=function(){}}};b("cr:6669").set(a,j,f);return f},hide:function(a,c){c===void 0&&(c={});var d=function(){b("cr:6108").addClass(a,c.invisible?"invisible_elem":"hidden_elem"),c.callback&&c.callback(),a.style.animation=p(a,k)};if(c.simple){d();return m}var e=c.duration!=null?c.duration/1e3:.3;n(a,j);n(a,i);b("requestAnimationFrameAcrossTransitions")(function(){a.style.animation=o(a,e,k)});var f=b("cr:5662").listen(a,"animationend",d),g={cancel:function(){a.style.animation=p(a,k),f.remove(),g.cancel=function(){}}};b("cr:6669").set(a,i,g);return g}};d={show:function(a,c){c===void 0&&(c={});var d=c.duration!=null?c.duration:300;n(a,i);n(a,j);b("cr:6108").removeClass(a,c.invisible?"invisible_elem":"hidden_elem");b("Style").set(a,"opacity","1");var e=c.peekStateFade?"0.6":"0";e=a.animate([{opacity:e},{opacity:"1.0"}],{duration:d});c.callback&&(e.onfinish=c.callback);b("cr:6669").set(a,j,e);return e},hide:function(a,c){c===void 0&&(c={});var d=c.duration!=null?c.duration:300;n(a,j);if(c.simple===!0){b("cr:6108").addClass(a,c.invisible?"invisible_elem":"hidden_elem");return m}else{n(a,i);b("Style").set(a,"opacity","0");var e=c.peekStateFade?"0.4":"0";e=a.animate([{opacity:"1.0"},{opacity:e}],{duration:d});e.onfinish=function(){b("cr:6108").addClass(a,c.invisible?"invisible_elem":"hidden_elem"),c.callback&&c.callback()};b("cr:6669").set(a,i,e);return e}}};e.exports=a?d:c}),null); __d("CenteredContainer.react",["cx","joinClasses","react"],(function(a,b,c,d,e,f,g,h){var i=["fullHeight","horizontal","vertical"],j,k=j||d("react");a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.render=function(){var a=this.props,b=a.fullHeight,d=a.horizontal,e=a.vertical;a=babelHelpers.objectWithoutPropertiesLoose(a,i);e=(e?"_3bwv":"")+(d?" _3bww":"");d=k.Children.map(this.props.children,function(a){return k.jsx("div",{className:"_3bwx",children:a})});b=c("joinClasses")(this.props.className,b?"_5bpf":"");return k.jsx("div",babelHelpers["extends"]({},a,{className:b,children:k.jsx("div",{className:e,children:k.jsx("div",{className:"_3bwy",children:d})})}))};return b}(k.Component);a.defaultProps={fullHeight:!1,vertical:!1,horizontal:!0};g["default"]=a}),98); __d("ClickableArea.react",["Focus","ReactDOM_DEPRECATED","react"],(function(a,b,c,d,e,f,g){var h=["children","onClick"],i,j=i||d("react");a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.componentDidMount=function(){if(this.props.buttonRef){var a=this.props.buttonRef();d("Focus").relocate(d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(a),d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this))}};c.render=function(){var a=this.props,b=a.children,c=a.onClick;a=babelHelpers.objectWithoutPropertiesLoose(a,h);return j.cloneElement(j.Children.only(b),babelHelpers["extends"]({},a,{onClick:c}))};return b}(j.Component);g["default"]=a}),98); __d("CometHeroInteractionContext",["hero-tracing-placeholder"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=d("hero-tracing-placeholder").HeroInteractionContext}),98); __d("ContextualDialogARIA",["DOM","getOrCreateDOMID"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._subscription=this._layer.subscribe("beforeshow",this._addAriaAttribute.bind(this))};c.disable=function(){this._subscription.unsubscribe(),this._subscription=null};c._addAriaAttribute=function(){var a=this._layer.getCausalElement();if(!a)return;var c=b("DOM").scry(this._layer.getRoot(),".accessible_elem");c.length&&a.setAttribute("aria-describedby",b("getOrCreateDOMID")(c[0]))};return a}();e.exports=a}),null); __d("flattenArray",[],(function(a,b,c,d,e,f){function a(a){var b=[];g(a,b);return b}function g(a,b){var c=a.length,d=0;while(c--){var e=a[d++];Array.isArray(e)?g(e,b):b.push(e)}}f["default"]=a}),66); __d("JSXDOM",["FbtResultBase","cr:6114","flattenArray"],(function(a,b,c,d,e,f){a=["a","blockquote","br","button","canvas","checkbox","dd","div","dl","dt","em","form","h1","h2","h3","h4","h5","h6","hr","i","iframe","img","input","label","li","option","p","pre","select","span","strong","table","tbody","thead","td","textarea","th","tr","ul","video"];var g={};a.forEach(function(a){var c=function(c,d){arguments.length>2&&(d=Array.prototype.slice.call(arguments,1));!d&&c&&(d=c.children,delete c.children);d&&(d=Array.isArray(d)?d:[d],d=d.map(function(a){return a instanceof b("FbtResultBase")?a.flattenToArray():a}),d=b("flattenArray")(d));return b("cr:6114").create(a,c,d)};g[a]=c});e.exports=g}),null); __d("ContextualDialogArrow",["cx","AbstractContextualDialogArrowBehavior","CSS","JSXDOM"],(function(a,b,c,d,e,f,g,h){a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var e=b.prototype;e.__getArrow=function(){return c("JSXDOM").i({className:"_53io"})};e.enable=function(){a.prototype.enable.call(this);var b=this.__layer.getContentRoot();d("CSS").addClass(b,"_5v-0")};e.disable=function(){a.prototype.disable.call(this);var b=this.__layer.getContentRoot();d("CSS").removeClass(b,"_5v-0")};return b}(c("AbstractContextualDialogArrowBehavior"));g["default"]=a}),98); __d("ContextualDialogDefaultTheme",["cx"],(function(a,b,c,d,e,f,g,h){a="_53ip";b={offset:15,length:16};g.wrapperClassName=a;g.arrowDimensions=b}),98); __d("ContextualDialogFitInViewport_PUSHSAFE",["Style","Vector"],(function(a,b,c,d,e,f){var g=50,h=10;a=function(){"use strict";function a(a){this._layer=a,this._contentHeight=null,this._contextY=null}var c=a.prototype;c.enable=function(){var a=this,b=this._layer.getArrowDimensions();this._arrowOffset=b.offset;b=b.length;this._arrowBuffer=this._arrowOffset+b;this._subscription=this._layer.subscribe(["reposition"],function(b,c){if(!a._layer.isFixed()||c.isVertical())return;a._adjustPosition()})};c.disable=function(){this._subscription.unsubscribe(),this._subscription=null};c._getContentHeight=function(){return b("Vector").getElementDimensions(this._layer._contentWrapper).y};c._getContextY=function(){return b("Vector").getElementPosition(this._layer.getContext(),"viewport").y};c._adjustPosition=function(){var a=this._getContextY(),c=this._getContentHeight();if(a===this._contextY&&c===this._contentHeight)return;this._contextY=a;this._contentHeight=c;var d=b("Vector").getViewportDimensions().y;d=Math.min(Math.max(0,a+c+h-d),Math.max(0,a-g),c-this._arrowOffset-this._arrowBuffer);b("Style").set(this._layer.getContent(),"top",-d+"px")};return a}();e.exports=a}),null); __d("ContextualDialogKeepInViewport",["AbstractContextualDialogKeepInViewportBehavior","Style"],(function(a,b,c,d,e,f){a=function(a){"use strict";function c(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d.__adjustForScroll=function(a,c){a=a.getContent();b("Style").set(a,"top",-c+"px")};return c}(b("AbstractContextualDialogKeepInViewportBehavior"));e.exports=a}),null); __d("LayerButtons",["csx","Button","Event","LayerHideSources","Parent"],(function(a,b,c,d,e,f,g){a=function(){"use strict";function a(a){this.$2=null,this.$1=a}var c=a.prototype;c.enable=function(){this.$2=b("Event").listen(this.$1.getRoot(),"click",this.$3.bind(this))};c.disable=function(){this.$2.remove(),this.$2=null};c.$3=function(a){var c=a.getTarget(),d=b("Parent").byClass(c,"layerHide");if(d){this.$1.hide(b("LayerHideSources").LAYER_HIDE_BUTTON);return}d=b("Parent").byClass(c,"layerConfirm");if(d){if(this.$4(d)&&!b("Button").isEnabled(d))return;if(this.$5(d))return;this.$1.inform("confirm",d)===!1&&a.prevent();return}d=b("Parent").byClass(c,"layerCancel");if(d){if(this.$4(d)&&!b("Button").isEnabled(d))return;if(this.$5(d))return;this.$1.inform("cancel",d)!==!1&&this.$1.hide(b("LayerHideSources").LAYER_CANCEL_BUTTON);a.prevent();return}d=b("Parent").byClass(c,"layerButton");if(d){if(this.$4(d)&&!b("Button").isEnabled(d))return;if(this.$5(d))return;this.$1.inform("button",d)===!1&&a.prevent()}};c.$5=function(a){a=b("Parent").byClass(a,"uiLayer");var c=this.$1.getRoot();return!!(a&&c!==a)};c.$4=function(a){return!!(b("Parent").byClass(a,"uiButton")||b("Parent").bySelector(a,"._42ft"))};return a}();e.exports=a}),null); __d("LayerFormHooks",["Event"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){this.$2=null,this.$1=a}var c=a.prototype;c.enable=function(){var a=this.$1.getRoot();this.$2=[b("Event").listen(a,"submit",this.$3.bind(this)),b("Event").listen(a,"success",this.$4.bind(this)),b("Event").listen(a,"error",this.$5.bind(this))]};c.disable=function(){this.$2.forEach(function(a){a.remove()}),this.$2=null};c.$3=function(a){this.$1.inform("submit",a)===!1&&a.kill()};c.$4=function(a){this.$1.inform("success",a)===!1&&a.kill()};c.$5=function(a){var b=a.getData();this.$1.inform("error",{response:b.response})===!1&&a.kill()};return a}();e.exports=a}),null); __d("LayerMouseHooks",["Arbiter","ContextualThing","Event","Layer"],(function(a,b,c,d,e,f){var g=new(b("Arbiter"))();a=function(){"use strict";function a(a){this.$1=a,this.$2=[],this.$3=!1}var c=a.prototype;c.enable=function(){var a=this;this.$2=[g.subscribe("mouseenter",this.$4.bind(this)),g.subscribe("mouseleave",this.$5.bind(this)),this.$1.subscribe("hide",function(){a.$3=!1})]};c.disable=function(){while(this.$2.length)this.$2.pop().unsubscribe();this.$2=[];this.$3=!1};c.$4=function(a,b){!this.$3&&this.$6(b)&&(this.$1.inform("mouseenter",b),this.$3=!0)};c.$5=function(a,b){this.$3&&((!b||!this.$6(b))&&(this.$1.inform("mouseleave",b),this.$3=!1))};c.$6=function(a){return b("ContextualThing").containsIncludingLayers(this.$1.getContentRoot(),a)};return a}();b("Layer").subscribe("show",function(a,c){var d=c.getContentRoot(),e=[b("Event").listen(d,"mouseenter",function(){g.inform("mouseenter",d)}),b("Event").listen(d,"mouseleave",function(a){g.inform("mouseleave",a.getRelatedTarget())})],f=c.subscribe("hide",function(){while(e.length)e.pop().remove();f.unsubscribe();e=f=null})});e.exports=a}),null); __d("LayerRefocusOnHide",["ContextualThing","DOM","DOMQuery","Focus","Parent","getActiveElement","nullthrows"],(function(a,b,c,d,e,f,g){a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscription=this._layer.subscribe("hide",this._handle.bind(this))};b.disable=function(){c("nullthrows")(this._subscription).unsubscribe(),this._subscription=null};b._handle=function(){var a=c("getActiveElement")();if(a===document.body||d("DOMQuery").contains(this._layer.getRoot(),a)){a=this._layer.getCausalElement();while(a&&!a.offsetWidth){var b=d("Parent").byClass(a,"uiToggle");if(b&&b.offsetWidth)a=c("DOM").scry(b,'[rel="toggle"]')[0];else{b=d("ContextualThing").getContext(a);b?a=b:a=a.parentNode}}a&&(a=a,d("Focus").set(a))}};return a}();Object.assign(a.prototype,{_subscription:null});g["default"]=a}),98); __d("ContextualDialog",["csx","cx","invariant","AccessibleLayer","CSS","ContextualDialogARIA","ContextualDialogArrow","ContextualDialogDefaultTheme","ContextualDialogFitInViewport_PUSHSAFE","ContextualDialogKeepInViewport","ContextualLayer","DOM","Event","JSXDOM","LayerButtons","LayerFormHooks","LayerMouseHooks","LayerRefocusOnHide","Style","cr:971473","removeFromArray","shield"],(function(a,b,c,d,e,f,g,h,i,j){var k=0,l=300;a=function(a){function e(b,c){b=a.call(this,b,c)||this;b._footer=null;return b}babelHelpers.inheritsLoose(e,a);var f=e.prototype;f._configure=function(b,e){Object.assign(b,b.theme||d("ContextualDialogDefaultTheme"));var f=b.arrowBehavior||c("ContextualDialogArrow");b.addedBehaviors=b.addedBehaviors||[];b.addedBehaviors.push(f);a.prototype._configure.call(this,b,e);this._footer=c("DOM").scry(e,"div._572u")[0];this._footer&&(this._footer.children.length===1&&this._footer.children[0].nodeName==="DIV"&&this._footer.children[0].children.length===0?this._footer.parentNode.removeChild(this._footer):d("CSS").addClass(this.getContentRoot(),"_kc"));b.hoverContext&&this._registerHoverHandlers(b.hoverContext,b.hoverShowDelay,b.hoverHideDelay)};f._registerHoverHandlers=function(a,b,d){var e=this,f=b,g=d;f==null&&(f=k);g==null&&(g=l);var h,i;b=function(a){window.clearTimeout(i),h=window.setTimeout(c("shield")(e.show,e),f)};d=function(a){if(e._isHoverLocked())return;window.clearTimeout(h);i=window.setTimeout(e.hide.bind(e),g)};var j=c("Event").listen(a,"mouseenter",b),m=c("Event").listen(a,"mouseleave",d),n=this.subscribe("mouseenter",b),o=this.subscribe("mouseleave",d);this.subscribe("destroy",function(){window.clearTimeout(i),window.clearTimeout(h),j.remove(),m.remove(),n.unsubscribe(),o.unsubscribe()})};f._getDefaultBehaviors=function(){var d=a.prototype._getDefaultBehaviors.call(this);b("cr:971473")!=null&&c("removeFromArray")(d,b("cr:971473"));return d.concat([c("AccessibleLayer"),c("LayerRefocusOnHide"),c("ContextualDialogKeepInViewport"),c("ContextualDialogFitInViewport_PUSHSAFE"),c("LayerButtons"),c("LayerFormHooks"),c("LayerMouseHooks"),c("ContextualDialogARIA")])};f._buildWrapper=function(b,e){this._innerWrapper=c("JSXDOM").div(null,e);var f=a.prototype._buildWrapper.call(this,b,this._innerWrapper);if(b.wrapperClassName){var g=b.wrapperClassName.split(/\s+/);for(g of g)d("CSS").addClass(f,g)}this.replaceEntireLayerContents(e);this.getContent()===e||j(0,5783);this.setWidth(b.width);return f};f.getContentRoot=function(){!this._innerWrapper&&j(0,5784);return this._innerWrapper};f.setContent=function(a){j(0,5785)};f.replaceEntireLayerContents=function(a){this._content=null,c("DOM").empty(this.getContentRoot()),this.setInnerContent(a)};f.setInnerContent=function(a){d("CSS").addClass(a,"_53ij"),this.getContent()?c("DOM").replace(this.getContent(),a):c("DOM").appendContent(this.getContentRoot(),a),this._content=a,this.isShown()&&this.updatePosition()};f.setWidth=function(a){c("Style").set(this.getContentRoot(),"width",a?Math.floor(a)+"px":"");return this};f.getFooter=function(){return this._footer};f.lockHover=function(){this._hoverLocked=!0;return this};f.unlockHover=function(){this._hoverLocked=!1;return this};f._isHoverLocked=function(){return!!this._hoverLocked};e.setContext=function(a,b){a.setContext(b)};return e}(c("ContextualLayer"));g["default"]=a}),98); __d("ContextualLayerHideOnScroll",["Event","setTimeout"],(function(a,b,c,d,e,f,g){a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscriptions=[this._layer.subscribe("contextchange",this._handleContextChange.bind(this)),this._layer.subscribe("show",this.attach.bind(this)),this._layer.subscribe("hide",this.detach.bind(this))]};b.disable=function(){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this.detach()};b.attach=function(){var a=this;if(this._listener)return;var b=this._layer.getContextScrollParent();if(b===window)return;c("setTimeout")(function(){a._listener=c("Event").listen(b,"scroll",function(){a._layer.hide()})})};b.detach=function(){this._listener&&this._listener.remove(),this._listener=null};b._handleContextChange=function(){this.detach(),this._layer.isShown()&&this.attach()};return a}();Object.assign(a.prototype,{_subscriptions:[]});g["default"]=a}),98); __d("Dispatcher_DEPRECATED",["invariant","FBLogger","monitorCodeUse"],(function(a,b,c,d,e,f,g,h){"use strict";var i="ID_";a=function(){function a(){this.$1=new Map(),this.$2=!1,this.$3=new Map(),this.$4=new Map(),this.$5=1}var b=a.prototype;b.register=function(a,b){b=this.__genID(b);this.$1.set(b,a);return b};b.unregister=function(a){this.$1.get(a)||h(0,1331,a),this.$1["delete"](a)};b.waitFor=function(a){this.$2||h(0,1332);for(var b=0;b1?d-1:0),f=1;f0&&this.$BasicContainer$p_1.setStores(j);this.setState(function(a){return g(f,a,b,d,f.$BasicContainer$p_4)})};d.componentDidMount=function(){var b=this;a.prototype.componentDidMount&&a.prototype.componentDidMount.call(this);if(this.$BasicContainer$p_4.isRevoked===!0){var c=this.$BasicContainer$p_3;this.$BasicContainer$p_4=function(){return c==null?void 0:c()};this.$BasicContainer$p_4.isRevoked=!1;this.$BasicContainer$p_4.revoke=function(){b.$BasicContainer$p_4.isRevoked=!0,c=null}}this.$BasicContainer$p_2||(this.$BasicContainer$p_5(this.props,this.context),this.$BasicContainer$p_3(),this.$BasicContainer$p_2=!0)};d.componentWillUnmount=function(){a.prototype.componentWillUnmount&&a.prototype.componentWillUnmount.call(this),this.$BasicContainer$p_1.reset(),this.$BasicContainer$p_2=!1,this.$BasicContainer$p_4.revoke()};d.$BasicContainer$p_5=function(a,b){var c=this;a=h(a,b);a.length>0&&(this.$BasicContainer$p_1.setStores(a),this.$BasicContainer$p_1.addListener(function(){c.setState(function(a,d){return g(c,a,d,b)})}))};return b}(a);b=e.pure&&!(a.prototype instanceof j)?m(b):b;d("FluxContainerNameUtils").nameContainer(b,e.name||a.displayName||a.name);return b}function m(a){a=function(b){function a(){var a;for(var c=arguments.length,d=new Array(c),e=0;e0){var d=!1;b=c("concatArrays")(b.map(function(a){a=a&&a.getActionTypes?a.getActionTypes():null;a==null&&(d=!0);return a}).filter(Boolean));d?a=null:a=(i||(i=c("distinctArray")))(a.concat(b))}}this.$1=a}return this.$1};b.getDispatcher=function(){return this.__dispatcher};b.getDispatchToken=function(){return this.$2};b.getDependencyDispatchTokens=function(){this.$5||(this.$5=this.getDependencyStores().map(function(a){return a&&a.getDispatchToken&&a.getDispatchToken()}));return this.$5};b.getDependencyStores=function(){this.$4||(this.$4=(i||(i=c("distinctArray")))(this.__getDependencyStores()));return this.$4};b.addStoreDependency=function(a){var b=this.__dispatcher.registerDependency;b&&b(this.getDispatchToken(),a.getDispatchToken())};b.hasChanged=function(){this.__dispatcher.isDispatching()||h(0,1147,this.__className);return this.__changed};b.__setAsUnchanged=function(){this.__changed=!1};b.__emitChange=function(){this.__dispatcher.isDispatching()||h(0,1148,this.__className);if(this.__changed)return;d("FluxStoreInstrumentation").onEmitChange(this.__moduleID!=null?this.__moduleID:"unknown");this.__changed=!0};b.__invokeOnDispatch=function(a){this.__changed=!1;var b=c("FluxStoreOnDispatchInstrumentation").hasCallback()?(j||(j=c("performanceAbsoluteNow")))():null;this.__onDispatch(a);if(b!=null){c("FluxStoreOnDispatchInstrumentation").call((a=this.__moduleID)!=null?a:"unknown",(j||(j=c("performanceAbsoluteNow")))()-b)}this.__inform()};b.__inform=function(a){this.$3=this.__changed||this.$3;var b=this.__dispatcher.shouldAllowInforms==null||this.__dispatcher.shouldAllowInforms();b&&this.$3&&(this.$3=!1,this.__emitter.emit(a||this.__changeEvent))};b.__onDispatch=function(a){h(0,1149,this.__className)};b.__getActionTypes=function(){return null};b.__getDependencyStores=function(){return[]};b.__getIDForDispatcher=function(){return this.__className};return a}();a;b=a;g["default"]=b}),98); __d("TypedFluxStore",["FluxStore"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("FluxStore")}),98); __d("FluxReduceStore",["invariant","TypedFluxStore","abstractMethod","cr:27640","cr:27641","gkx","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=(i||d("react")).startTransition;a=function(a){function d(b){b=a.call(this,b)||this;b.$FluxReduceStore$p_1=b.getInitialState();return b}babelHelpers.inheritsLoose(d,a);var e=d.prototype;e.getState=function(){return this.$FluxReduceStore$p_1};e.getInitialState=function(){return c("abstractMethod")("FluxReduceStore","getInitialState")};e.reduce=function(a,b){return c("abstractMethod")("FluxReduceStore","reduce")};e.areEqual=function(a,b){return a===b};e.__invokeOnDispatch=function(a,d){d===void 0&&(d=!0);var e=c("gkx")("19775");if(e&&b("cr:27640")!=null&&b("cr:27641")!=null){e=b("cr:27640").getOrNull();e!=null&&e.getRoutes().some(function(a){return a instanceof b("cr:27641")})?this.__invokeOnDispatchWithTransition(a,d):this.__invokeOnDispatchWithoutTransition(a,d)}else this.__invokeOnDispatchWithoutTransition(a,d)};e.__invokeOnDispatchWithTransition=function(a,b){var c=this;b===void 0&&(b=!0);j(function(){c.__invokeOnDispatchWithoutTransition(a,b)})};e.__invokeOnDispatchWithoutTransition=function(a,b){b===void 0&&(b=!0);this.__changed=!1;var c=this.$FluxReduceStore$p_1;a=this.reduce(c,a);a!==void 0||h(0,2189,this.constructor.name);this.areEqual(c,a)||(this.$FluxReduceStore$p_1=a,this.__emitChange());b&&this.__inform()};e.__setState=function(a){this.$FluxReduceStore$p_1=a};return d}(c("TypedFluxStore"));a.__moduleID=f.id;g["default"]=a}),98); __d("GeoPrivateMakeComponent",["cr:1641505","emptyFunction","react"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");c("emptyFunction")(b("cr:1641505"));function a(a,b){b.displayName==null&&(b.displayName=a);return b}g.makeGeoComponent=a}),98); __d("LeftRight.react",["cx","invariant","joinClasses","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=["root"],k,l=k||d("react");a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.getChildrenArr=function(){var a=[];l.Children.forEach(this.props.children,function(b){return a.push(b)});return a};d.render=function(){var a=this.getChildrenArr();a.length===1||a.length===2||i(0,5615);var d=this.props.direction||b.DIRECTION.both,e=d===b.DIRECTION.both,f=e||d===b.DIRECTION.left?"_ohe":"";e=e||d===b.DIRECTION.right?"_ohf":"";f=l.jsx("div",{className:f,children:a[0]},"left");e=a.length<2?null:l.jsx("div",{className:e,children:a[1]},"right");a=d===b.DIRECTION.right&&e?[e,f]:[f,e];d=this.props;f=d.root;e=babelHelpers.objectWithoutPropertiesLoose(d,j);return l.jsx("div",babelHelpers["extends"]({},e,{ref:f,className:c("joinClasses")(this.props.className,"clearfix"),children:a}))};return b}(l.Component);a.DIRECTION={left:"left",right:"right",both:"both"};g["default"]=a}),98); __d("ImageBlock.react",["cx","invariant","DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE","LeftRight.react","joinClasses","react"],(function(a,b,c,d,e,f,g,h,i){var j=["imageClassName","contentClassName","spacing"],k,l=k||d("react");function m(a){a=a.children;a&&(a.length===2||a.length===3)||i(0,97);a[0]!==null||i(0,98);return a}function n(a){return"img _8o"+(a==="small"?" _8r":"")+(a==="medium"?" _8s":"")+(a==="large"?" _8t":"")}a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.render=function(){var a=m(this.props),b=a[0],d=a[1];a=a[2];var e=this.props,f=e.imageClassName,g=e.contentClassName,h=e.spacing;e=babelHelpers.objectWithoutPropertiesLoose(e,j);var i=c("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(b).props,k=i.className,o=i.alt,p=i.tabIndex;i=i.title;k={className:c("joinClasses")(k,n(h),f)};c("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(b).type==="img"?o===void 0&&(k.alt=""):(c("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(b).type==="a"||c("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(b).type==="link")&&p===void 0&&i===void 0&&c("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(b).props["aria-label"]===void 0&&(k.tabIndex="-1",k["aria-hidden"]="true");b=l.cloneElement(b,k);f=!0;this.props.flexibleContent!=null&&(f=this.props.flexibleContent);o=c("joinClasses")(g,(f?"_42ef":"")+(h==="small"?" _8u":""));!a?p=l.jsx("div",{className:o,children:d}):p=l.jsxs(c("LeftRight.react"),{className:o,direction:c("LeftRight.react").DIRECTION.right,children:[d,a]});return l.jsxs(c("LeftRight.react"),babelHelpers["extends"]({},e,{direction:c("LeftRight.react").DIRECTION.left,children:[b,p]}))};return b}(l.Component);a.defaultProps={spacing:"small"};g["default"]=a}),98); __d("ImmutableRecordWithV4Types",["immutable"],(function(a,b,c,d,e,f,g){"use strict";g.Record=c("immutable").Record}),98); __d("InlineBlock.react",["cx","joinClasses","react"],(function(a,b,c,d,e,f,g){var h=["alignv","height","fullWidth","rootRef"],i,j=i||b("react"),k={baseline:null,bottom:"_6d",middle:"_6b",top:"_6e"};a=function(a){"use strict";function c(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d.render=function(){var a=this.props,c=a.alignv,d=a.height,e=a.fullWidth,f=a.rootRef;a=babelHelpers.objectWithoutPropertiesLoose(a,h);c=k[c];e="_6a"+(e?" _5u5j":"");var g=b("joinClasses")(e,c);if(d!=null){c=j.jsx("div",{className:b("joinClasses")("_6a",c),style:{height:d+"px"}});return j.jsxs("div",babelHelpers["extends"]({},a,{ref:f,className:b("joinClasses")(this.props.className,e),height:null,children:[c,j.jsx("div",{className:g,children:this.props.children})]}))}else return j.jsx("div",babelHelpers["extends"]({},a,{ref:f,className:b("joinClasses")(this.props.className,g),children:this.props.children}))};return c}(j.Component);a.defaultProps={alignv:"baseline",fullWidth:!1};e.exports=a}),null); __d("TabbableElements",["Style"],(function(a,b,c,d,e,f,g){function h(a){if(a.tabIndex<0)return!1;if(a.tabIndex>0||a.tabIndex===0&&a.getAttribute("tabIndex")!==null)return!0;var b=a;switch(a.tagName){case"A":a=b;return!!a.href&&a.rel!="ignore";case"INPUT":a=b;return a.type!="hidden"&&a.type!="file"&&!a.disabled;case"BUTTON":case"SELECT":case"TEXTAREA":a=b;return!a.disabled}return!1}function i(a){a=a;while(a&&a!==document&&c("Style").get(a,"visibility")!="hidden"&&c("Style").get(a,"display")!="none")a=a.parentNode;return a===document}function a(a){return Array.from(a.getElementsByTagName("*")).filter(j)}function b(a){return Array.from(a.getElementsByTagName("*")).find(j)}function d(a){a=Array.from(a.getElementsByTagName("*"));for(var b=a.length-1;b>=0;b--)if(j(a[b]))return a[b];return null}function j(a){return h(a)&&i(a)}function e(a){return i(a)}g.find=a;g.findFirst=b;g.findLast=d;g.isTabbable=j;g.isVisible=e}),98); __d("focusWithinLayer",["DOMQuery","Focus","TabbableElements","getActiveElement"],(function(a,b,c,d,e,f,g){function a(a,b){var e=d("DOMQuery").scry(a,".autofocus")[0],f=!0;if(!e){var g=c("getActiveElement")();if(d("DOMQuery").isNodeOfType(g,["input","textarea"]))return;g=d("TabbableElements").find(a);for(var h=0;hb.offsetHeight;else{if(!this.innerElement)return a;a=this.innerElement.offsetHeight>b.offsetHeight}return a};e.componentDidMount=function(){this.$3()};e.componentDidUpdate=function(){this.$3()};e.render=function(){var a=this.$5(),b=c("joinClasses")(this.props.className,"_4ik4"+(a?" _4ik5":"")+(this.props.width?" _8hwj":"")),d=this.props.hasXHPChildren?j.jsx(c("DOMContainer.react"),{children:this.props.children}):this.props.children,e={};this.props.lineHeight&&(e={lineHeight:this.props.lineHeight+"px"},this.props.fitHeightToShorterText?e=babelHelpers["extends"]({},e,{maxHeight:this.props.lineHeight*this.props.lines}):e=babelHelpers["extends"]({},e,{height:this.props.lineHeight*this.props.lines}));this.props.width&&(e=babelHelpers["extends"]({},e,{width:this.props.width+"px"}));a?e[k]=this.props.lines:(b=c("joinClasses")(b,"clearfix"),this.props.customEllipsisDisableGradient?d=[j.jsx("div",{className:"_1osu"},"spacer"),this.$1(),j.jsx("div",{className:"_1osv",ref:this.$2,children:this.props.children},"inner")]:d=[j.jsx("div",{className:"_4ik6",ref:this.$2,children:d},"inner"),this.$1()]);var f={};this.props.enableTooltipOnOverflow&&(f["data-hover"]="tooltip",this.state.enableTooltip&&(f["data-tooltip-content"]=a?c("getElementText")(this.rootElement):c("getElementText")(this.innerElement),this.props.tooltipDelay!=null&&(f["data-tooltip-delay"]=this.props.tooltipDelay)));return j.jsx("div",babelHelpers["extends"]({},f,{className:b,ref:this.$4,style:e,children:d}))};return b}(j.Component);g["default"]=a}),98); __d("LiveVideoPlayerDispatcher",["ExplicitRegistrationReactDispatcher"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){function b(b){b=a.call(this,b)||this;b.dispatch=b.dispatch.bind(b);return b}babelHelpers.inheritsLoose(b,a);return b}(c("ExplicitRegistrationReactDispatcher"));b=new a({strict:!0});g["default"]=b}),98); __d("LiveVideoPlayerActions",["LiveVideoPlayerDispatcher"],(function(a,b,c,d,e,f,g){function a(a,b){b={type:"SET_IS_REWOUND",isRewound:b,vpc:a};c("LiveVideoPlayerDispatcher").dispatch(b)}function b(a){a={type:"DISMISS_REWIND_COMMENT_OVERLAY",playerID:a};c("LiveVideoPlayerDispatcher").dispatch(a)}g.setIsRewound=a;g.dismissRewindCommentOverlay=b}),98); __d("LiveVideoRewindTypedLogger",["Banzai","GeneratedLoggerUtils"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setActionSequenceNumber=function(a){this.$1.action_sequence_number=a;return this};c.setDeviceid=function(a){this.$1.deviceid=a;return this};c.setEvent=function(a){this.$1.event=a;return this};c.setPositionAfter=function(a){this.$1.position_after=a;return this};c.setPositionBefore=function(a){this.$1.position_before=a;return this};c.setSessionID=function(a){this.$1.session_id=a;return this};c.setVideoDuration=function(a){this.$1.video_duration=a;return this};c.setVideoID=function(a){this.$1.video_id=a;return this};return a}();c={action_sequence_number:!0,deviceid:!0,event:!0,position_after:!0,position_before:!0,session_id:!0,video_duration:!0,video_id:!0};f["default"]=a}),66); __d("LiveRewindUtils",["LiveVideoPlayerActions","LiveVideoRewindTypedLogger","uuidv4"],(function(a,b,c,d,e,f){"use strict";var g=5,h=new Map(),i=250;function j(a){var b=0;for(var c=0;cg?b-g:0}function a(a,b){var c=a;if(b.length()<1)return 0;if(a<=0)return b.start(0);for(a=0;ac.end(d)&&(a=c.end(d));var e=a+b,f=c.end(c.length()-1),g=c.start(0);if(e<=g)return g;if(e>=f)return f;if(e>=c.start(d)&&e<=c.end(d))return e;if(ec.start(d)){if(d>=c.length()-1)return f;h=c.end(d)-a;g=b-h;e=c.start(d+1);return l(e,g,c,d+1)}return 0}function m(a,b){b==null&&(b=g);var c=a.end(a.length()-1);return l(c,-1*b,a)}function n(a,b){if(b.length()<1)return 0;var c=0;while(c0,isScrolledToBottom:e.isScrolledToBottom()}},function(a){var c=a.needsGripper,d=a.top;a=a.isScrolledToBottom;b("CSS").conditionShow(e._gripper,c);b("CSS").conditionClass(e._elem,"contentBefore",d);b("CSS").conditionClass(e._elem,"contentAfter",!a)})};e._respondMouseMove=function(){if(!e._mouseOver||e._isFocussed)return;var a=e._options.fade!==!1,c=e._mousePos,d=b("Vector").getElementPosition(e._track).x,f=b("Vector").getElementDimensions(e._track).x;d=Math.abs(d+f/2-c.x);f=b("BrowserSupport").hasPointerEvents()&&d<=10;f&&!e._trackIsHovered?(e._trackIsHovered=!0,b("CSS").addClass(e._elem,"uiScrollableAreaTrackOver"),e.throttledAdjustGripper()):!f&&e._trackIsHovered&&(e._trackIsHovered=!1,b("CSS").removeClass(e._elem,"uiScrollableAreaTrackOver"));a&&(d<25?e.showScrollbar({hideAfterDelay:!1}):!e._options.no_fade_on_hover&&!e._isFocussed&&e.hideScrollbar({hideAfterDelay:!0,shouldFade:!0}))};if(!c)return babelHelpers.assertThisInitialized(e);d=d||{};e._elem=c;e._wrap=b("firstx")(b("DOM").scry(c,"div.uiScrollableAreaWrap"));e._body=b("firstx")(b("DOM").scry(e._wrap,"div.uiScrollableAreaBody"));e._content=b("firstx")(b("DOM").scry(e._body,"div.uiScrollableAreaContent"));e._track=b("firstx")(b("DOM").scry(c,"div.uiScrollableAreaTrack"));e._trackIsHovered=!1;e._isFocussed=!1;e._gripper=b("firstx")(b("DOM").scry(e._track,"div.uiScrollableAreaGripper"));e._options=d;e._throttledComputeHeights=b("throttle").withBlocking(e._computeHeights,250,e);e.throttledAdjustGripper=b("throttle").withBlocking(e.adjustGripper,250,e);e.throttledAdjustGripper=b("TimeSlice").guard(e.throttledAdjustGripper,"ScrollableArea throttledAdjustGripper",{propagationType:b("TimeSlice").PropagationType.ORPHAN});e._throttledShowGripperAndShadows=b("throttle").withBlocking(e._showGripperAndShadows,250,e);e._throttledRespondMouseMove=b("throttle")(e._respondMouseMove,250,e);b("setTimeoutAcrossTransitions")(e.adjustGripper.bind(e),0);e._listeners=new(b("SubscriptionsHandler"))();e._listeners.addSubscriptions(b("Event").listen(e._wrap,"scroll",e._handleScroll.bind(e)),b("Event").listen(c,"mousemove",e._handleMouseMove.bind(e)),b("Event").listen(e._track,"click",e._handleClickOnTrack.bind(e)));b("BrowserSupport").hasPointerEvents()&&e._listeners.addSubscriptions(b("Event").listen(c,"mousedown",e._handleClickOnTrack.bind(e)));if(d.fade!==!1){var f;(f=e._listeners).addSubscriptions.apply(f,[b("Event").listen(c,"mouseenter",e._handleMouseEnter.bind(e)),b("Event").listen(c,"mouseleave",e._handleMouseLeave.bind(e))].concat(e._attachFocusListeners(e._wrap)))}else b("BrowserSupport").hasPointerEvents()&&e._listeners.addSubscriptions(b("Event").listen(c,"mouseleave",function(){e._isFocussed||(e._trackIsHovered=!1,b("CSS").removeClass(c,"uiScrollableAreaTrackOver"))}));(b("UserAgent").isEngine("WebKit")||b("UserAgent").isEngine("Blink"))&&e._listeners.addSubscriptions(b("Event").listen(c,"mousedown",function(){var a=b("Event").listen(window,"mouseup",function(){b("Scroll").getLeft(c)&&b("Scroll").setLeft(c,0),a.remove()})}));e._drag=e.initDrag();b("DataStore").set(e._elem,"ScrollableArea",e);d.persistent||(e._destroy=b("createCancelableFunction")(e._destroy.bind(e)),d.runtime_site_is_comet||b("Run").onLeave(e._destroy));d.shadow!==!1&&b("CSS").addClass(e._elem,"uiScrollableAreaWithShadow");return e}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d.getContentHeight=function(){return this._contentHeight};d.getElement=function(){return this._elem};d.initDrag=function(){var a=this,c=b("BrowserSupport").hasPointerEvents(),d=new(b("SimpleDrag"))(c?this._elem:this._gripper);d.subscribe("start",function(e,f){if(!(f.which&&f.which===1||f.button&&f.button===1))return!1;e=b("Vector").getEventPosition(f,"viewport");if(c){var g=a._gripper.getBoundingClientRect();if(e.xg.right||e.yg.bottom)return!1}f.stopPropagation();a.inform("grip_start");var h=e.y,i=a._gripper.offsetTop;b("CSS").addClass(a._elem,"uiScrollableAreaDragging");var j=d.subscribe("update",function(c,d){c=b("Vector").getEventPosition(d,"viewport").y-h;a._throttledComputeHeights();d=a._contentHeight-a._containerHeight;c=i+c;var e=a._trackHeight-a._gripperHeight;c=Math.max(Math.min(c,e),0);c=c/e*d;b("Scroll").setTop(a._wrap,c)}),k=d.subscribe("end",function(){d.unsubscribe(j),d.unsubscribe(k),b("CSS").removeClass(a._elem,"uiScrollableAreaDragging"),a.inform("grip_end")});return void 0});return d};d._attachFocusListeners=function(a){var c=this,d={cleanupOnLeave:!Boolean(this._options.runtime_site_is_comet)},e;return[b("FocusEvent").listen(a,function(a){e&&(e.reject(),e=null),a?(e=new(b("Deferred"))(),b("promiseDone")(e.getPromise(),function(){c._isFocussed=!0,c._trackIsHovered=!0,b("queryThenMutateDOM")(null,function(){b("CSS").addClass(c._elem,"uiScrollableAreaTrackOver")}),c.showScrollbar({hideAfterDelay:!1}),e=null},function(){e=null})):(c._isFocussed=!1,c._mouseOver?c._respondMouseMove():(b("queryThenMutateDOM")(null,function(){b("CSS").removeClass(c._elem,"uiScrollableAreaTrackOver")}),c.hideScrollbar({hideAfterDelay:!1,shouldFade:!1})))},d),b("Event").listen(document.documentElement,"keyup",function(a){e&&e.resolve()})]};d._needsGripper=function(){this._throttledComputeHeights();return this._gripperHeightd.left&&(c.yd.bottom&&this.setScrollTop(this.getScrollTop()+this._elem.clientHeight),a.kill())};d._handleMouseMove=function(a){var c=this._options.fade!==!1;(b("BrowserSupport").hasPointerEvents()||c)&&(this._mousePos=b("Vector").getEventPosition(a),this._throttledRespondMouseMove())};d._handleScroll=function(a){this._needsGripper()&&this._slideGripper(),this.throttledAdjustGripper(),this._options.fade!==!1&&!this._isFocussed&&this.showScrollbar({hideAfterDelay:!0}),this.inform("scroll")};d._handleMouseLeave=function(a){this._mouseOver=!1,this._mousePos=b("Vector").getEventPosition(a),this._isFocussed||this.hideScrollbar({hideAfterDelay:!0,shouldFade:!0})};d._handleMouseEnter=function(a){this._mouseOver=!0,this._mousePos=b("Vector").getEventPosition(a),this._isFocussed||this.showScrollbar({hideAfterDelay:!0})};d.hideScrollbar=function(a){var c=this,d=a.hideAfterDelay,e=a.shouldFade;if(this._hideTimeout||!this._scrollbarVisible)return this;var f=function(){c._scrollbarVisible=!1,b("CSSFade").hide(c._track,{simple:!e,invisible:b("CSS").hasClass(c._track,"invisible_elem")})};d?this._hideTimeout=b("setTimeoutAcrossTransitions")(function(){c._hideTimeout=null,f()},750):f();return this};d.pageDown=function(a,b){this._scrollPage(1,a,b)};d.pageUp=function(a,b){this._scrollPage(-1,a,b)};d._scrollPage=function(a,b,c){a=a*this._containerHeight;var d=this.getScrollHeight()-this._containerHeight;d=Math.max(0,Math.min(d,this.getScrollTop()+a));this.setScrollTop(d,b,c)};d.resize=function(){this._body.style.width&&(this._body.style.width="");var a=b("DOMScroll").getScrollbarSize();a>0&&b("Style").set(this._body,"margin-right",-a+"px");return this};d.showScrollbar=function(a){var c=this,d=a.hideAfterDelay;this._hideTimeout&&(b("clearTimeout")(this._hideTimeout),this._hideTimeout=null);if(this._scrollbarVisible)return this;this._scrollbarVisible=!0;b("queryThenMutateDOM")(null,function(){b("CSSFade").show(c._track,{duration:0,invisible:b("CSS").hasClass(c._track,"invisible_elem")}),c.throttledAdjustGripper(),d&&c.hideScrollbar({hideAfterDelay:!0,shouldFade:!c._options.no_fade_on_hover})});return this};d.distanceToBottom=function(){this._computeHeights();var a=Math.round(b("Scroll").getTop(this._wrap));return this._contentHeight-(a+this._containerHeight)};d.isScrolledToBottom=function(){return this.distanceToBottom()<=0};d.isScrolledToTop=function(){return b("Scroll").getTop(this._wrap)===0};d.scrollToBottom=function(a,b){this.setScrollTop(this._wrap.scrollHeight,a,b)};d.scrollToTop=function(a,b){this.setScrollTop(0,a,b)};d.scrollIntoView=function(a,c,d){var e=this._wrap.clientHeight,f=a.offsetHeight,g=b("Scroll").getTop(this._wrap),h=g+e;a=this.getScrollOffsetForElement(a);var i=a+f;if(ah)return this.setScrollTop(g+(i-h),c,{callback:d});d&&d();return b("emptyFunction")};d.getScrollOffsetForElement=function(a){var b=0;while(a!=null&&a!==this._wrap)b+=a.offsetTop,a=a.offsetParent;return b};d.scrollElemToTop=function(a,b,c){this.setScrollTop(a.offsetTop,b,{callback:c})};d.poke=function(){var a,c=(a=b("Scroll")).getTop(this._wrap);a.setTop(this._wrap,a.getTop(this._wrap)+1);a.setTop(this._wrap,a.getTop(this._wrap)-1);a.setTop(this._wrap,c);if(this._isFocussed)return this;else return this.showScrollbar({hideAfterDelay:!1})};d.getClientHeight=function(){return this._wrap.clientHeight};d.getScrollTop=function(){return b("Scroll").getTop(this._wrap)};d.getScrollHeight=function(){return this._wrap.scrollHeight};d.setScrollTop=function(a,b,c){c===void 0&&(c={});var d;if(b!==!1){b=g.getModuleIfRequired();b!=null?d=this._animatedSetScrollTop(b,a,c):this._simpleSetScrollTop(a,c)}else this._simpleSetScrollTop(a,c);return function(){d&&d.stop(),d=null}};d._simpleSetScrollTop=function(a,c){b("Scroll").setTop(this._wrap,a),c.callback&&c.callback()};d._animatedSetScrollTop=function(a,b,c){this._scrollTopAnimation&&this._scrollTopAnimation.stop();var d=c.duration||250,e=c.ease||a.ease.end;this._scrollTopAnimation=new a(this._wrap).to("scrollTop",b).ease(e).duration(d).ondone(c.callback).go();return this._scrollTopAnimation};c.renderDOM=function(){var a,c=(a=b("DOM")).create("div",{className:"uiScrollableAreaContent"}),d=a.create("div",{className:"uiScrollableAreaBody"},c),e=a.create("div",{className:"uiScrollableAreaWrap scrollable"},d);a=a.create("div",{className:"uiScrollableArea native"},e);return{root:a,wrap:e,body:d,content:c}};c.fromNative=function(a,d){if(!b("CSS").hasClass(a,"uiScrollableArea")||!b("CSS").hasClass(a,"native"))return void 0;d=d||{};b("CSS").removeClass(a,"native");var e=b("DOM").create("div",{className:"uiScrollableAreaTrack"},b("DOM").create("div",{className:"uiScrollableAreaGripper"}));d.fade!==!1?(b("CSS").addClass(a,"fade"),b("CSS").addClass(e,"hidden_elem")):b("CSS").addClass(a,"nofade");d.tabIndex!=null?(b("DOM").setAttributes(e,{tabIndex:d.tabIndex}),b("DOM").prependContent(a,e)):b("DOM").appendContent(a,e);e=new c(a,d);e.resize();return e};c.getInstance=function(a){return b("getScrollableAreaContainingNode")(a)};c.poke=function(a){a=c.getInstance(a);a&&a.poke()};return c}(b("mixin")(b("ArbiterMixin")));e.exports=a}),null); __d("Menu",["cx","BehaviorsMixin","CSS","DOM","DataStore","Event","Keys","Parent","PopoverMenuInterface","ScrollableArea","Style","SubscriptionsHandler","UserAgent","debounce"],(function(a,b,c,d,e,f,g,h){var i=500;a=function(a){function b(d,e){var f;f=a.call(this)||this;f._items=[];f._keysSoFar="";f._items=d.map(b.buildItemFromData);f._config=e||{};f._theme=e.theme||{};f._subscriptions=new(c("SubscriptionsHandler"))();f._clearKeysSoFarAfterDelay=c("debounce")(function(){f._keysSoFar=""},i);return f}babelHelpers.inheritsLoose(b,a);b.buildItemFromData=function(a){if(a.ctor)return new a.ctor(a);else return new a.type(a.props)};var e=b.prototype;e.addItem=function(a){this._addItem(a)};e.addItemBefore=function(a,b){this._addItem(a,b,!1)};e.addItemAfter=function(a,b){this._addItem(a,b,!0)};e._addItem=function(a,b,c){var d=this._items.indexOf(a);if(d>=0){var e=c?-1:1;if(this._items[d+e]==b)return;this._items.splice(d,1)}if(b){d=this._items.indexOf(b);if(d<0)throw new Error("reference item must already be in the menu");c&&d++;this._items.splice(d,0,a)}else this._items.push(a);this._root&&this._insertItem(a,b,c)};e.removeItem=function(a){var b=this._items.indexOf(a);if(b<0)return;this._items.splice(b,1);this._root&&c("DOM").remove(a.getRoot())};e.forEachItem=function(a){this._items.forEach(a)};e.getFocusedItem=function(){return this._focused};e.getItemAt=function(a){return this._items[a]||null};e.getRoot=function(){this._root||this._render();return this._root};e.onShow=function(){this._config.maxheight&&(!this._scrollableArea?this._scrollableArea=c("ScrollableArea").fromNative(this._scrollableElems.root,{fade:!0}):this._scrollableArea.resize()),this.inform("show")};e.onHide=function(){this.blur(),this.inform("hide")};e.focusAnItem=function(a){return this._attemptFocus(a||0,1)};e.blur=function(){if(this._focused){var a=this._focused;this._focused.blur();this._focused=null;this.inform("blur",{item:a})}};e.handleKeydown=function(a,b){if(!this._items.length)return!1;var d=this._items.indexOf(this._focused);switch(a){case c("Keys").UP:case c("Keys").DOWN:var e=a===c("Keys").UP,f=e?-1:1;e=e?this._items.length-1:0;return d===-1?this._attemptFocus(e,f):this._attemptFocus(d+f,f);case c("Keys").HOME:return this._attemptFocus(0,1);case c("Keys").END:return this._attemptFocus(this._items.length-1,-1);case c("Keys").SPACE:if(this._items.indexOf(this._focused)!==-1){this._handleItemClick(this._focused,b);return!0}return!1;case c("Keys").RIGHT:case c("Keys").LEFT:case c("Keys").INSERT:case c("Keys").DELETE:return!1;default:e=this._findItemToFocus(a,d);return!!(e&&this._focusItem(e))}};e._findItemToFocus=function(a,b){a=String.fromCharCode(a).toLowerCase();this._keysSoFar||(this._searchIndex=b,this._itemToFocus=this._focused||this._items[0]);this._keysSoFar+=a;this._clearKeysSoFarAfterDelay();b=this._findMatchInRange(this._searchIndex+1,this._items.length);b||(b=this._findMatchInRange(0,this._searchIndex));this._itemToFocus=b||this._itemToFocus;return this._itemToFocus};e._findMatchInRange=function(a,b){for(a=a;a=c)&&!this._focused)return!1;a=(c+a%c)%c;c=this.getItemAt(a);return c===this._focused||this._focusItem(c)?!0:this._attemptFocus(a+b,b)};e._focusItem=function(a,b){if(a&&a.focus(b)!==!1){this._focused!==a&&(this.blur(),this._focused=a,this.inform("focus",{item:a,from_mouse_over:b}));return!0}return!1};e._getItemInstance=function(a){a=d("Parent").byClass(a,"__MenuItem");return a?d("DataStore").get(a,"MenuItem"):null};e.destroy=function(){this._items.forEach(function(a){var b=a.getRoot(!0);b&&(d("DataStore").remove(b,"MenuItem"),a.destroy())}),this._subscriptions.release(),this.destroyBehaviors()};return b}(c("PopoverMenuInterface"));Object.assign(a.prototype,c("BehaviorsMixin"),{_focused:null,_root:null});g["default"]=a}),98); __d("MenuItemInterface",["emptyFunction","react"],(function(a,b,c,d,e,f){var g;a=g||b("react");c=function(a){"use strict";function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.getRoot=function(a){!this._root&&!a&&(this._root=this.render());return this._root};return b}(a.Component);Object.assign(c.prototype,{_root:null,render:b("emptyFunction"),getAccessKey:b("emptyFunction"),getLabel:b("emptyFunction"),hasAction:b("emptyFunction").thatReturnsFalse,focus:b("emptyFunction").thatReturnsFalse,blur:b("emptyFunction").thatReturnsFalse,onShow:b("emptyFunction").thatReturnsFalse,handleClick:b("emptyFunction").thatReturnsFalse,shouldCloseOnClick:b("emptyFunction").thatReturnsTrue,destroy:b("emptyFunction")});e.exports=c}),null); __d("MenuItemBase",["cx","DOM","HTML","MenuItemInterface"],(function(a,b,c,d,e,f,g,h){a=function(a){function b(b){var c;c=a.call(this)||this;c._ARIARole="menuitem";c._data=babelHelpers["extends"]({},b);return c}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.render=function(){var a="_54ni";this._data.className&&(a+=" "+this._data.className);a={className:a,role:"presentation","data-testid":void 0};Object.assign(a,this.__getAttributesFromData());delete a["data-testid"];return c("DOM").create("li",a,this._renderItemContent())};d._renderItemContent=function(){return c("HTML")(this._data.markup).getNodes()};d.__getAttributesFromData=function(){var a={};for(var b in this._data)(b.indexOf("data-")===0||b.indexOf("aria-")===0)&&(a[b]=this._data[b]);return a};return b}(c("MenuItemInterface"));g["default"]=a}),98); __d("MenuItem",["cx","CSS","DOM","MenuItemBase","ReactDOM","emptyFunction","joinClasses","react","setTimeout","vulture"],(function(a,b,c,d,e,f,g){var h,i=h||b("react"),j=["href","rel","ajaxify","target","accesskey"];function k(a,c){var d={};j.forEach(function(a){c[a]&&(d[a]=c[a])});b("DOM").setAttributes(a,d)}function l(a){b("vulture")("L3dzAeLx4qVbAk1CGh1ezQj0L50="),j.forEach(function(c){b("vulture")("4Y-rjCJtVHvzE06fQVkcrLf-SMA="),a.removeAttribute(c)})}a=function(a){"use strict";function c(b){b=a.call(this,b)||this;b._disabled=!!b._data.disabled;b._onclickHandler=b._data.onclick||b._data.onClick;return b}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d.getValue=function(){return this._data.value};d.getLabel=function(){return this._data.label};d.getLink=function(){b("vulture")("EsrM6PZUvQbnGj2bFd940AUdzbo=");return this._data.href};d.getAccessKey=function(){b("vulture")("vWgxrmHNH5VQk9XuWLXHyQEia0o=");var a=this.getLabel();return a&&a.charAt(0)};d.focus=function(a){if(this.isDisabled()||!this._root.offsetParent||!this.hasAction()||this.isHoverDisabled())return!1;b("CSS").addClass(this._root,"_54ne");b("CSS").addClass(this._root,"selected");a||this._anchor.focus()};d.blur=function(){b("CSS").removeClass(this._root,"_54ne"),b("CSS").removeClass(this._root,"selected")};d.handleClick=function(a){if(this.isDisabled())return!1;return typeof this._onclickHandler==="function"?this._onclickHandler(a):!0};d.setOnClickHandler=function(a){this._onclickHandler=a};d._renderItemContent=function(){var a=this;this._anchor=b("DOM").create(this._data.renderas==="label"?"label":"a",{className:"_54nc"+(this._data.icon?" _54nu":"")});if(this._data.children){var c=null;this._data.icon&&(c=i.cloneElement(this._data.icon,{className:b("joinClasses")(this._data.icon.props.className,"mrs")}));var d=i.jsx(i.Suspense,{fallback:null,children:i.jsxs("span",{children:[c,i.jsx("span",{className:"_54nh",children:this._data.children})]})});this._reactRoot=b("ReactDOM").createRoot(this._anchor);b("ReactDOM").flushSync(function(){a._reactRoot.render(d)});this._data.label=this._anchor.innerText||this._anchor.textContent}else{c=b("DOM").create("span",null,b("DOM").create("span",{className:"_54nh"},this._data.markup||this._data.label));this._data.icon&&b("DOM").prependContent(c,this._data.icon);b("DOM").setContent(this._anchor,c)}this._data.href||(this._data.href="#");this.isDisabled()||k(this._anchor,this._data);b("DOM").setAttributes(this._anchor,this.__getAttributesFromData());this._anchor.setAttribute("role",this._ARIARole);c=this._data.title;c&&this._anchor.setAttribute("title",c);return this._anchor};d.isDisabled=function(){return this._disabled};d.isHoverDisabled=function(){return this._data.hoverdisabled};d.enable=function(){b("vulture")("Iub_VECdDHNOtjbr25HMBTEMhys="),this._root&&(k(this._anchor,this._data),b("CSS").removeClass(this._root,"_5arm")),this._disabled=!1};d.disable=function(){b("vulture")("i-Jr_4wyb_VEzmBrpUix7dZhkjE="),this._root&&(l(this._anchor),b("CSS").addClass(this._root,"_5arm")),this._disabled=!0};d.render=function(){var c=a.prototype.render.call(this);this._disabled&&b("CSS").addClass(c,"_5arm");return c};d.destroy=function(){if(this._reactRoot!=null){var a=this._reactRoot;this._reactRoot=null;b("setTimeout")(function(){a.unmount()},0)}};return c}(b("MenuItemBase"));Object.assign(a.prototype,{hasAction:b("emptyFunction").thatReturnsTrue});e.exports=a}),null); __d("MenuItemNoAction",["MenuItem"],(function(a,b,c,d,e,f,g){a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.hasAction=function(){return!1};return b}(c("MenuItem"));g["default"]=a}),98); __d("MenuSelectableItem",["cx","CSS","DOM","MenuItem"],(function(a,b,c,d,e,f,g,h){a=function(a){function b(b){b=a.call(this,b)||this;b._selected=!1;b._ARIARole="menuitemcheckbox";b._selected=!!b._data.selected;return b}babelHelpers.inheritsLoose(b,a);var e=b.prototype;e.getIcon=function(){return this._data.icon};e.setIcon=function(a){c("DOM").replace(this._data.icon,a),this._data.icon=a};e.isSelected=function(){return this._selected};e.select=function(){if(this.isDisabled())return!1;d("CSS").addClass(this._root,"_54nd");this._anchor.setAttribute("aria-checked","true");this._selected=!0};e.deselect=function(){d("CSS").removeClass(this._root,"_54nd"),this._anchor.setAttribute("aria-checked","false"),this._selected=!1};e.render=function(){var b=a.prototype.render.call(this);this._data.selected&&(d("CSS").addClass(b,"_54nd"),this._anchor.setAttribute("aria-checked","true"));return b};return b}(c("MenuItem"));g["default"]=a}),98); __d("MenuTheme",["cx"],(function(a,b,c,d,e,f,g,h){a="_569t";g.className=a}),98); __d("NetworkConnectivityEffectiveType",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({TYPE_SLOW_2G:"slow-2g",TYPE_2G:"2g",TYPE_3G:"3g",TYPE_4G:"4g",UNAVAILABLE:"unavailable"});c=a;f["default"]=c}),66); __d("Network",["$InternalEnum","NetworkConnectivityEffectiveType","mixInEventEmitter"],(function(a,b,c,d,e,f,g){var h=!0,i=a.navigator&&a.navigator.connection,j={0:"unknown",1:"ethernet",2:"wifi",3:"2g",4:"3g"},k=b("$InternalEnum")({Bluetooth:"bluetooth",Cellular:"cellular",Ethernet:"ethernet",None:"none",Wifi:"wifi",Wimax:"wimax",Other:"other",Unavailable:"unavailable",Unknown:"unknown"});function l(){return h}function d(a){if(a==h)return;h=a;q.emit(a?"online":"offline")}function e(){if(!l())return 0;var a=i==null?void 0:i.downlinkMax;if(typeof a==="number"&&Number.isFinite(a))return a;a=i==null?void 0:i.downlink;return typeof a==="number"&&Number.isFinite(a)?a:null}function f(){if(!l())return 0;var a=i==null?void 0:i.rtt;return typeof a==="number"&&Number.isFinite(a)?a:null}function m(){return i!=null}function n(){var a=i?String(i.type):"0";return j[a]||a}function o(){var a=i==null?void 0:i.type;return(a=typeof a==="string"?k.cast(a):null)!=null?a:k.Unavailable}function p(){var a=i==null?void 0:i.effectiveType;return(a=typeof a==="string"?c("NetworkConnectivityEffectiveType").cast(a):null)!=null?a:"unavailable"}var q={NetworkConnectivityType:k,NetworkConnectivityEffectiveType:c("NetworkConnectivityEffectiveType"),getBandwidth:e,getEffectiveType:p,getType:o,getType_DEPRECATED_DO_NOT_USE:n,isOnline:l,setOnline:d,getRTT:f,containsNetworkInformation:m};c("mixInEventEmitter")(q,{online:!0,offline:!0});a.addEventListener?(a.addEventListener("online",d.bind(null,!0)),a.addEventListener("offline",d.bind(null,!1))):a.attachEvent&&(a.attachEvent("online",d.bind(null,!0)),a.attachEvent("offline",d.bind(null,!1)));b=q;g["default"]=b}),98); __d("OnUseEffectMount.react",["react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){var b=d("react-compiler-runtime").c(2);a=a.callback;var c;b[0]!==a?(c=[a],b[0]=a,b[1]=c):c=b[1];i(a,c)}g["default"]=a}),98); __d("OnUseEffectUnmount.react",["react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){var b=d("react-compiler-runtime").c(3),c=a.callback,e;b[0]!==c?(a=function(){return c},e=[c],b[0]=c,b[1]=a,b[2]=e):(a=b[1],e=b[2]);i(a,e)}g["default"]=a}),98); __d("Toggler",["csx","invariant","$","Arbiter","ArbiterMixin","CSS","ContextualThing","DOM","DataStore","Event","Focus","Keys","Parent","TabbableElements","TimeSlice","createArrayFromMixed","emptyFunction","ge","getContextualParent","getObjectValues","mixin","queryThenMutateDOM","setImmediate"],(function(a,b,c,d,e,f,g,h,i){var j=[],k,l=!1;function m(){l||(l=!0,c("setImmediate")(function(){l=!1}))}var n=function(){n=c("emptyFunction"),c("Event").listen(document.documentElement,"click",function(a){if(l)return;var b=a.getTarget();j.forEach(function(a){a.clickedTarget=b,a.active&&!a.sticky&&!d("ContextualThing").containsIncludingLayers(a.getActive(),b)&&!a.inTargetFlyout(b)&&a.inActiveDialog()&&!a.isIgnoredByModalLayer(b)&&a.hide()})},c("Event").Priority.URGENT)},o=function(b){function e(){var a;a=b.call(this)||this;a.active=null;a.togglers={};a.setSticky(!1);j.push(a);a.subscribe(["show","hide"],e.inform.bind(e));return n()||babelHelpers.assertThisInitialized(a)}babelHelpers.inheritsLoose(e,b);var f=e.prototype;f.focusFirstTabbableDescendant=function(a,b){b.$Toggler2&&b.$Toggler2.cancel();var e=null;b.$Toggler2=c("queryThenMutateDOM")(function(){var b=a.querySelector(".uiToggleFlyout");b&&(e=d("TabbableElements").findFirst(b)||b)},function(){delete b.$Toggler2,e&&(e.tabIndex==null&&(e.tabIndex=-1),d("Focus").setWithoutOutline(e))})};f.show=function(a){var b=p(this,a),e=b.active;if(a!==e){e&&b.hide();b.active=a;d("CSS").addClass(a,"openToggler");e=c("DOM").scry(a,'a[rel="toggle"]');e.length>0&&e[0].getAttribute("data-target")&&d("CSS").removeClass(c("$")(e[0].getAttribute("data-target")),"toggleTargetClosed");this.focusFirstTabbableDescendant(a,b);e.length>0&&(c("DOM").appendContent(a,b.getToggler("next")),c("DOM").prependContent(a,b.getToggler("prev")));c("Event").listen(a,"keydown",function(d){if(c("Event").getKeyCode(d)===c("Keys").ESC&&b.isShown()){var e=c("DOM").scry(a,'a[rel="toggle"]')[0];e&&e.focus();b.hide();d.kill()}});a.getAttribute("data-toggle-wc")&&(b.__continuation=c("TimeSlice").getGuardedContinuation("Toggler.show inform"));b.inform("show",b,"state")}};f.hide=function(a){var b=p(this,a);b.$Toggler2&&b.$Toggler2.cancel();var e=b.active;if(e&&(!a||a===e)){d("CSS").removeClass(e,"openToggler");a=c("DOM").scry(e,'a[rel="toggle"]');a.length>0&&a[0].getAttribute("data-target")&&d("CSS").addClass(c("$")(a[0].getAttribute("data-target")),"toggleTargetClosed");c("getObjectValues")(b.togglers).forEach(c("DOM").remove);e.getAttribute("data-toggle-wc")&&(b.__continuation=c("TimeSlice").getGuardedContinuation("Toggler.hide inform"));b.inform("hide",b,"state");b.active=null}};f.toggle=function(a){var b=p(this,a);b.active===a?b.hide():b.show(a);m()};f.getActive=function(){return p(this).active};f.isShown=function(){return p(this).active&&d("CSS").hasClass(p(this).active,"openToggler")};e.isNodeShown=function(a){return d("CSS").hasClass(a,"openToggler")};f.inTargetFlyout=function(a){var b=q(this.getActive());return Boolean(b&&d("ContextualThing").containsIncludingLayers(b,a))};f.inActiveDialog=function(){var b=a.Dialog&&a.Dialog.getCurrent();return!b||c("DOM").contains(b.getRoot(),this.getActive())};f.isIgnoredByModalLayer=function(a){a=!!d("Parent").bySelector(a,"._3qw");var b=!!d("Parent").bySelector(this.getActive(),"._3qw");return a&&!b};f.getToggler=function(a){var b=p(this);b.togglers[a]||(b.togglers[a]=c("DOM").create("button",{className:"hideToggler",onfocus:function(){var a=c("DOM").scry(b.active,'a[rel="toggle"]')[0];a&&a.focus();b.hide()},style:{right:a==="next"?"0":""}}),b.togglers[a].setAttribute("type","button"));return this.togglers[a]};f.setSticky=function(a){var b=p(this);a=a!==!1;a!==b.sticky&&(b.sticky=a,a?b.$Toggler1&&b.$Toggler1.unsubscribe():b.$Toggler1=c("Arbiter").subscribe("pre_page_transition",b.hide.bind(b,null)));return b};f.setPrePageTransitionCallback=function(a){var b=p(this);b.$Toggler1&&b.$Toggler1.unsubscribe();b.$Toggler1=c("Arbiter").subscribe("pre_page_transition",a)};e.bootstrap=function(a){a=a.parentNode;a!=null||i(0,3354);var b=e.getInstance(a);b!=null||i(0,3355);b.toggle(a)};e.createInstance=function(a){var b=new e().setSticky(!0);d("DataStore").set(a,"toggler",b);return b};e.destroyInstance=function(a){var b=d("DataStore").get(a,"toggler");b&&b.$Toggler2&&b.$Toggler2.cancel();d("DataStore").remove(a,"toggler")};e.getInstance=function(a){a=a;while(a){var b=d("DataStore").get(a,"toggler");if(b)return b;if(a instanceof Element)if(d("CSS").hasClass(a,"uiToggleContext"))return e.createInstance(a);else if(d("CSS").hasClass(a,"uiToggleFlyout"))return e.createInstance(a).setSticky(!1);a=c("getContextualParent")(a)}return k=k||new e()};e.listen=function(a,b,d){return e.subscribe(c("createArrayFromMixed")(a),function(a,c){if(c.getActive()===b){if(c.__continuation){var e=c.__continuation;delete c.__continuation;return e(function(){return d(a,c)})}return d(a,c)}})};e.addListener=function(a){var b=a.events,c=a.element,d=a.handler;return e.listen(b,c,function(){return d.callback()})};return e}(c("mixin")(c("ArbiterMixin")));Object.assign(o,o.prototype,c("ArbiterMixin"));Object.assign(o,{subscribe:function(a){return function(b,d){b=c("createArrayFromMixed")(b);b.includes("show")&&j.forEach(function(a){a.getActive()&&setTimeout(d.bind(null,"show",a),0)});return a(b,d)}}(o.subscribe.bind(o))});function p(a,b){return a instanceof o?a:o.getInstance(b)}function q(a){a=c("DOM").scry(a,'a[rel="toggle"]');return a.length>0&&a[0].getAttribute("data-target")?c("ge")(a[0].getAttribute("data-target")):null}g["default"]=o}),98); __d("curry",["bind"],(function(a,b,c,d,e,f,g){a=c("bind")(null,c("bind"),null);b=a;g["default"]=b}),98); __d("ParameterizedPopover",["invariant","ArbiterMixin","CSS","DataStore","Event","Focus","KeyStatus","Keys","LayerHideOnEscape","SubscriptionsHandler","Toggler","curry","mixin"],(function(a,b,c,d,e,f,g){b("Toggler").subscribe(["show","hide"],function(a,c){c=c.getActive();c!=null||g(0,4839);c=b("DataStore").get(c,"Popover");c&&(a==="show"?c.showLayer():c.hideLayer())});a=function(a){"use strict";function c(b,c,d,e){var f;f=a.call(this)||this;typeof b==="string"&&typeof c==="string"?window.setTimeout(function(){var a=document.getElementById(b),g=document.getElementById(c);f.construct(a,g,d,e)}):f.construct(b,c,d,e);return f}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d.construct=function(a,c,d,e){this._root=a,this._triggerElem=c,this._behaviors=d,this._config=e||{},this._disabled=!!this._config.disabled,this._listeners=new(b("SubscriptionsHandler"))(),this._disabled||((c.nodeName!=="A"||c.rel==null||c.rel.indexOf("toggle")<0)&&this._setupClickListener(),this._setupKeyListener(),this._setupFocusListener(),this._setupBlurListener()),c.setAttribute("role","button"),b("DataStore").set(a,"Popover",this),b("Toggler").getActive()===a&&this.showLayer()};d.ensureInit=function(){this._layer||this._init()};d.showLayer=function(){if(this._disabled)return;this.ensureInit();this._layer.show();b("Toggler").show(this._root);b("CSS").addClass(this._root,"selected");this.inform("show")};d.getContentRoot=function(){return this._root};d.getLayer=function(){this.ensureInit();return this._layer};d.hideLayer=function(){this.ensureInit(),this._layer.hide()};d.isShown=function(){return this._layer&&this._layer.isShown()};d.setLayerContent=function(a){this.ensureInit(),this._layer.setContent&&this._layer.setContent(a)};d._init=function(){var a=this._config.layer;a.enableBehaviors([b("LayerHideOnEscape")]);b("Toggler").createInstance(a.getRoot()).setSticky(!1);a.subscribe("hide",this._onLayerHide.bind(this));this._behaviors&&a.enableBehaviors(this._behaviors);this._layer=a;this.inform("init",null,"persistent")};d._onLayerHide=function(){b("Toggler").hide(this._root),b("CSS").removeClass(this._root,"selected"),this.inform("hide"),b("KeyStatus").getKeyDownCode()===b("Keys").ESC&&b("Focus").set(this._triggerElem)};d.enable=function(){if(!this._disabled)return;this._listeners.engage();this._setupClickListener();this._setupKeyListener();this._setupFocusListener();this._setupBlurListener();this._disabled=!1};d.disable=function(){if(this._disabled)return;this.isShown()&&this.hideLayer();this._listeners.release();this._triggerElem.getAttribute("rel")==="toggle"&&this._triggerElem.removeAttribute("rel");this._disabled=!0};d._setupClickListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"click",b("curry")(b("Toggler").bootstrap,this._triggerElem)))};d._setupKeyListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"keydown",this._handleKeyEvent.bind(this)))};d._setupFocusListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"focus",this._handleFocusEvent.bind(this)))};d._setupBlurListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"blur",this._handleBlurEvent.bind(this)))};d._handleKeyEvent=function(a){if(a.getModifiers().any)return;var c=b("Event").getKeyCode(a);switch(c){case b("Keys").DOWN:case b("Keys").UP:if(this._config.disableArrowKeyActivation)return;this.isShown()||b("Toggler").bootstrap(this._triggerElem);break;case b("Keys").RETURN:if(!this._config.enableActivationOnEnter)return;this.isShown()||b("Toggler").bootstrap(this._triggerElem);break;case b("Keys").SPACE:b("Toggler").bootstrap(this._triggerElem);break;default:return}a.prevent()};d._handleFocusEvent=function(a){b("CSS").addClass(this._root,"focused")};d._handleBlurEvent=function(a){b("CSS").removeClass(this._root,"focused")};d.destroy=function(){this.disable(),b("DataStore").remove(this._root,"Popover")};return c}(b("mixin")(b("ArbiterMixin")));Object.assign(a.prototype,{_layer:null});e.exports=a}),null); __d("PerfHelperUtils",["cx","DeferredComponent.react","JSResource","joinClasses","promiseDone","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function k(a){var b=a.children,d=a.className,e=a.color;a=a.tooltip;return j.jsx("div",{className:"_28hn"+(e==="red"?" _4ez8":"")+(e==="green"?" _28ho":""),children:j.jsx(c("DeferredComponent.react"),{"data-tooltip":a,deferredPlaceholder:j.jsx("div",{}),deferredComponent:function(a){c("promiseDone")(c("JSResource")("Tooltip.react").__setRef("PerfHelperUtils").load(),a)},className:c("joinClasses")("_5_my",d),tooltip:a,children:b})})}k.displayName=k.name+" [from "+f.id+"]";function a(a){var b=a.children,c=a.moduleId,d=a.timeLimitSecs;a=a.timeSpentSecs;return j.jsx(k,{color:"red",tooltip:"This bootloaded component has a red border\n because "+c+"\n took over "+d+" seconds ("+a+"s) to load",children:b})}a.displayName=a.name+" [from "+f.id+"]";g.BorderedComponent=k;g.SlowBootloadBorder=a}),98); __d("Popover",["ContextualLayer","ContextualLayerHideOnScroll","DOM","ParameterizedPopover"],(function(a,b,c,d,e,f,g){a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d._init=function(){var b=new(c("ContextualLayer"))({context:this._triggerElem,position:"below",arrowDimensions:{offset:12,length:16},"data-testid":this._config["data-testid"]},c("DOM").create("div"));this._config.shouldDisableHideOnScroll||b.enableBehaviors([c("ContextualLayerHideOnScroll")]);this._config.layer=b;this._config.alignh&&b.setAlignment(this._config.alignh);this._config.layer_content&&b.setContent(this._config.layer_content);this._config.position&&b.setPosition(this._config.position);this._config.arrowDimensions&&b.setArrowDimensions(this._config.arrowDimensions);a.prototype._init.call(this)};d.destroy=function(){a.prototype.destroy.call(this),this._layer&&this._layer.destroy()};return b}(c("ParameterizedPopover"));g["default"]=a}),98); __d("PopoverMenu",["ARIA","ArbiterMixin","BehaviorsMixin","Event","Focus","KeyStatus","Keys","SubscriptionsHandler","VirtualCursorStatus","mixin","setTimeout"],(function(a,b,c,d,e,f,g){a=function(a){function b(b,e,f,g){var h;h=a.call(this)||this;h._popover=b;h._triggerElem=e;h._getInitialMenu=typeof f!=="function"?function(){return f}:f;h._subscriptions=new(c("SubscriptionsHandler"))();h._subscriptions.addSubscriptions(b.subscribe("init",h._onLayerInit.bind(h)),b.subscribe("show",h._onPopoverShow.bind(h)),b.subscribe("hide",h._onPopoverHide.bind(h)),c("Event").listen(h._triggerElem,"keydown",h._handleKeyEventOnTrigger.bind(h)),d("VirtualCursorStatus").add(h._triggerElem,h._checkInitialFocus.bind(h)));g&&h.enableBehaviors(g);return h}babelHelpers.inheritsLoose(b,a);var e=b.prototype;e.getContentRoot=function(){return this._popover.getContentRoot()};e.setMenu=function(a){this._menu&&this._menu!==a&&this._menu.destroy();this._menu=a;var b=a.getRoot();this._popover.setLayerContent(b);a.subscribe("done",this._onMenuDone.bind(this));this._popoverShown&&this._menu.onShow();d("ARIA").controls(this._triggerElem,b);this.inform("setMenu",null,"persistent")};e.setInitialFocus=function(a,b){b&&a.focusAnItem()};e.getPopover=function(){return this._popover};e.getTriggerElem=function(){return this._triggerElem};e.getInitialMenu=function(){return this._getInitialMenu()};e.getMenu=function(){return this._menu};e._onLayerInit=function(){this._menu||this.setMenu(this._getInitialMenu()),this._popover.getLayer().subscribe("key",this._handleKeyEvent.bind(this))};e._onPopoverShow=function(){this._menu&&this._menu.onShow(),this._checkInitialFocus(),this._popoverShown=!0};e._checkInitialFocus=function(){var a=d("KeyStatus").isKeyDown()||d("VirtualCursorStatus").isVirtualCursorTriggered();this._menu&&this.setInitialFocus(this._menu,a)};e._onPopoverHide=function(){this._menu&&this._menu.onHide(),this._popoverShown=!1};e._handleKeyEvent=function(a,b){if(b.target===this._triggerElem)return;a=c("Event").getKeyCode(b);if(a===c("Keys").TAB){this._popover.hideLayer();d("Focus").set(this._triggerElem);return}if(b.getModifiers().any)return;switch(a){case c("Keys").RETURN:this.getMenu().getFocusedItem()||this.inform("returnWithoutFocusedItem");return;default:if(a===c("Keys").SPACE&&b.target.type==="file")return;this._menu.handleKeydown(a,b)===!1&&(this._menu.blur(),this._menu.handleKeydown(a,b));break}b.prevent()};e._handleKeyEventOnTrigger=function(a){if(this._isTypeaheadActivationDisabled)return;var b=c("Event").getKeyCode(a),e=String.fromCharCode(b).toLowerCase();/^\w$/.test(e)&&(this._popover.showLayer(),this._menu.blur(),this._menu.handleKeydown(b,a)===!1&&(this._popover.hideLayer(),d("Focus").set(this._triggerElem)))};e.disableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!0};e.enableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!1};e._onMenuDone=function(a){var b=this;c("setTimeout")(function(){b._popover.hideLayer(),d("Focus").set(b._triggerElem)},0)};e.enable=function(){this._popover.enable()};e.disable=function(){this._popover.disable()};e.destroy=function(){this._subscriptions.release(),this._popover.destroy(),this._getInitialMenu().destroy(),this._menu&&this._menu.destroy()};return b}(c("mixin")(c("ArbiterMixin"),c("BehaviorsMixin")));Object.assign(a.prototype,{_popoverShown:!1});g["default"]=a}),98); __d("PopoverMenu.react",["cx","CSS","DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE","InlineBlock.react","Popover","PopoverMenu","SubscriptionsHandler","areEqual","clearImmediate","joinClasses","react","setImmediate"],(function(a,b,c,d,e,f,g,h){var i,j,k=j||d("react");a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;ec("VideoPlayerExperiments").reloadingPixelBoundary+b&&this.$6(a)}else a.getDistanceToViewport()<0&&!a.isVisible()&&this.$5(a)};b.addVideoUnit=function(a){this.$1.has(a)||(this.$1.add(a),this.$2.set(a,{y:a.getDistanceToViewport(),timestamp:new Date().valueOf(),v:0,abortedLoading:!1}))};b.removeVideoUnit=function(a){this.$1["delete"](a),this.$2["delete"](a)};b.calculateFutureScrollPosition=function(a){var b=a.y1-a.y0,c=a.t1-a.t0;b=b/c;var d=b-a.v0;d=d/c;c=a.t;c=d*c*c/2+c*b+a.y1;return{v1:b,a:d,S:c}};b.preloadClosestVideoUnits=function(a){var b=this;this.$7(a).forEach(function(a){return b.$6(a)})};b.$7=function(a){return Array.from(this.$1).filter(function(a){return a.getDistanceToViewport()>=0}).sort(function(a,b){return a.getDistanceToViewport()-b.getDistanceToViewport()}).slice(0,a)};b.$6=function(a){var b=this.$2.get(a);!b&&h(0,3497);var c;b&&(c=b.abortedLoading,b.abortedLoading=!1);c&&typeof a.preload==="function"&&a.preload()};b.$5=function(a){var b=this.$2.get(a);!b&&h(0,3497);var c;b&&(c=b.abortedLoading,b.abortedLoading=!0);!c&&typeof a.abortLoading==="function"&&a.abortLoading()};b.$4=function(a){var b=c("getViewportDimensions")().height,d=1600;b=b/2;var e=b+d;b=-b;b=b-d;d=this.$2.get(a);!d&&h(0,3497);if(!d)return;var f=a.getDistanceToViewport(),g=d.y;d.y=f;var i=new Date().valueOf(),j=d.timestamp;d.timestamp=i;var k=d.v;if(b<=f&&e>=f){d.abortedLoading&&this.$6(a);return}var l=500;g=this.calculateFutureScrollPosition({y0:g,y1:f,t0:j,t1:i,v0:k,t:l});d.v=g.v1;j=g.S;d.abortedLoading?(fb||f>e&&jd);c=c.slice(0,e);return c.length<=a}}function i(a,b,d){var e=null;return function(){for(var f=arguments.length,g=new Array(f),h=0;h-1){this.$10.splice(b,1);b=a.getVideoPlayerController();b&&b.unregisterOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection")}};b.getPlayingVideoUnit=function(){return this.$3};b.setPlayingVideoUnit=function(a){this.$3=a,this.$3&&this.setupPlayingVideoUnitSubscriptions()};b.getLastScrollDirection=function(){return this.$11?this.$11.getLastScrollDirection():null};b.playVideo=function(a,b){if(c("VideoPlayerExperiments").disableAutoplayForInactiveTab&&c("Visibility").isHidden()){if(c("VideoPlayerExperiments").removeHiddenVideoTracking){this.setPlayingVideoUnit(null);return}this.$2=a;return}this.setPlayingVideoUnit(a);if(this.$3){a=this.$6;a?this.$7=a.call(this,b):this.$3.playWithoutUnmute(b)}};b.setupPlayingVideoUnitSubscriptions=function(){throw new Error("Should be overridden")};b.addSubscriberVideoUnit=function(){if(!this.getVideoUnits().length){var a;this.$5.addSubscriptions(c("Event").listen(window,"resize",this.updateAutoplay.bind(this)),c("Event").listen(window,"blur",this.$12.bind(this)),c("Event").listen(window,"focus",this.$13.bind(this)),(a=c("Visibility")).addListener(a.HIDDEN,this.$12.bind(this)),a.addListener(a.VISIBLE,this.$13.bind(this)),c("Arbiter").subscribe(d("DesktopHscrollUnitEventConstants").HSCROLL_ITEM_SHOWN_EVENT,this.updateAutoplay.bind(this)));this.$14()||this.$15()}};b.$12=function(){c("VideoPlayerExperiments").removeHiddenVideoTracking?this.$16("page_visibility_initiated"):this.$2||(this.$2=this.getPlayingVideoUnit(),this.$16("page_visibility_initiated"))};b.$13=function(){c("VideoPlayerExperiments").removeHiddenVideoTracking?this.updateAutoplay():this.$2&&(this.playVideo(this.$2,"page_visibility_initiated"),this.$2=null)};b.$15=function(){var a=this,b=function(){a.$11&&a.$11.onScroll(),a.updateAutoplay()};this.$4&&this.$4.remove();this.$8=c("throttle")(b,this.$1);this.$9=c("debounce")(function(){return a.updateAutoplay()},this.$1);var d=function(){return b()};this.$4=c("Event").listen(window,"scroll",d)};b.$14=function(){return!!this.$4};b.getClosestVideoUnits=function(a){return this.$10.filter(function(a){return a.getDistanceToViewport()>=0}).sort(function(a,b){return a.getDistanceToViewport()-b.getDistanceToViewport()}).slice(0,a)};b.getVisibleUnits=function(){var a=[];this.$10.forEach(function(b){var c=b.getVideoPlayerController();b.isVisible()?(a.push(b),b.wasVisible||(b.wasVisible=!0,b.logDisplayed(),c&&c.emit("becomeVisible"))):b.wasVisible&&(c&&c.emit("becomeInvisible"),b.wasVisible=!1)});return a};b.$17=function(a){var b=d("VideoPlayerShakaGlobalConfig").getBool("oz_www_allow_abort_loading_from_autoplay_controller",!1),e=c("ShakaConstants").strings.defer_which_video_to_abort_loading_decisioning_logic,f=a.getVideoPlayerController();if(!b&&f&&f.isPlayerVersion("oz"))return!1;b=f?f.isLiveVideo():null;return b!==null&&(e==="vod"&&b||e==="live"&&!b)?!1:c("VideoAutoplayControllerAbortLoadingHelper").shouldAbortLoadingVideoUnit(a)};b.pausePlayingVideo=function(a,b){var d=this.$3;if(d){var e=function(){if(!d.isState("playing")){if(c("VideoPlayerExperiments").abortLoadingReUpStillVisibleVideos&&d.isVisible()){c("setTimeout")(e,c("ShakaConstants").numbers.abort_loading_delay);return}typeof d.abortLoading==="function"&&d.abortLoading()}};if(d.isVisible()){var f=d.getVideoPlayerController();if(f&&f.isPlayRequestPending())return}this.$7()||d.pause(a);c("VideoPlayerExperiments").decoupleAbortLoadingFromPause||this.$17(d)&&!b&&c("setTimeout")(e,c("ShakaConstants").numbers.abort_loading_delay);this.$3=null}};b.$16=function(a){this.pausePlayingVideo(a,!0)};b.updateAutoplay=function(){throw new Error("Should be overridden")};return a}();g["default"]=a}),98); __d("XVideoAutoplayNuxAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/video/autoplay/nux/",{})}),null); __d("VideoAutoplayControllerX",["csx","AsyncRequest","DOM","DocumentFocusForMutedVideoAutoplayRule","Event","Network","Run","ShakaConstants","SubscriptionsHandler","ThisControllerNoLongerExists","VideoAutoplayControllerAbortLoadingHelper","VideoAutoplayControllerBase","VideoPlayerExperiments","XVideoAutoplayNuxAsyncController","clearTimeout","destroyOnUnload","getViewportDimensions","performanceNow","setTimeout"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=null,k=!1;function l(a){return a?!0:!c("VideoPlayerExperiments").delayAutoplayUntilAfterLoad||k}a=function(a){function b(){var b;b=a.call(this,c("VideoPlayerExperiments").videoPollingFrequency)||this;b.$VideoAutoplayControllerX$p_4=!1;b.$VideoAutoplayControllerX$p_5=!1;b.$VideoAutoplayControllerX$p_6=0;b.$VideoAutoplayControllerX$p_17=new(c("VideoAutoplayControllerAbortLoadingHelper"))();b.$VideoAutoplayControllerX$p_10=new(c("SubscriptionsHandler"))();b.$VideoAutoplayControllerX$p_18=new(c("SubscriptionsHandler"))();b.$VideoAutoplayControllerX$p_12=!0;b.$VideoAutoplayControllerX$p_9=!0;b.$VideoAutoplayControllerX$p_13=!0;b.$VideoAutoplayControllerX$p_2=null;b.$VideoAutoplayControllerX$p_1=null;b.$VideoAutoplayControllerX$p_14=!1;b.$VideoAutoplayControllerX$p_3=null;b.$VideoAutoplayControllerX$p_7=!1;b.$VideoAutoplayControllerX$p_16=!1;b.$VideoAutoplayControllerX$p_15=!1;var e=c("XVideoAutoplayNuxAsyncController").getURIBuilder().getURI();new(c("AsyncRequest"))(e).setMethod("GET").setReadOnly(!0).send();c("destroyOnUnload")(function(){b.$VideoAutoplayControllerX$p_19(),c("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&(b.$VideoAutoplayControllerX$p_11&&c("clearTimeout")(b.$VideoAutoplayControllerX$p_11),b.$VideoAutoplayControllerX$p_8.remove()),b===j&&(j=null)});d("Run").onAfterLoad(function(){k=!0,c("VideoPlayerExperiments").delayAutoplayUntilAfterLoad&&(j&&j.updateAutoplay()),document.hasFocus()||c("Event").fire(window,"blur"),c("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&b.$VideoAutoplayControllerX$p_20()});b.$VideoAutoplayControllerX$p_21(Date.now());return b}babelHelpers.inheritsLoose(b,a);b.$VideoAutoplayControllerX$p_22=function(a){return c("VideoPlayerExperiments").fixVPCCallBeforeLoaded?!(a.isState("fallback")||a.isState("loading")):!0};var e=b.prototype;e.$VideoAutoplayControllerX$p_20=function(){var a=this,b=33,d=34,e=35,f=36;this.$VideoAutoplayControllerX$p_11=null;var g=function(){a.$VideoAutoplayControllerX$p_23(a.$VideoAutoplayControllerX$p_9),c("clearTimeout")(a.$VideoAutoplayControllerX$p_11),a.$VideoAutoplayControllerX$p_11=null};this.$VideoAutoplayControllerX$p_8=c("Event").listen(document.body,"keydown",function(h){var i=-1;switch(h.keyCode){case b:case d:i=c("VideoPlayerExperiments").pressPgUpPgDownAutoplayShutoffInterval;break;case e:case f:i=c("VideoPlayerExperiments").pressHomeEndAutoplayShutoffInterval;break;default:break}i>-1&&(a.$VideoAutoplayControllerX$p_11?(c("clearTimeout")(a.$VideoAutoplayControllerX$p_11),a.$VideoAutoplayControllerX$p_11=c("setTimeout")(g,i)):a.$VideoAutoplayControllerX$p_12&&(a.$VideoAutoplayControllerX$p_23(!1),a.$VideoAutoplayControllerX$p_11=c("setTimeout")(g,i)))})};e.$VideoAutoplayControllerX$p_23=function(a){this.$VideoAutoplayControllerX$p_12=a,this.updateAutoplay()};b.registerVideoUnit=function(a){j==null&&(j=new b());j.addSubscriberVideoUnit();j.registerDefaultAutoplayRules(a);j.addVideoUnit(a);var d=new(c("SubscriptionsHandler"))();d.addSubscriptions.apply(d,j.$VideoAutoplayControllerX$p_24(a));j.$VideoAutoplayControllerX$p_25();a.isVisible()&&l(a.shouldImmediatelyAutoplayOnRegister())&&j.updateAutoplay();j.shouldRestoreAllSubsequentStreamBufferSizes()&&j.restoreStreamBufferSize();return function(){j&&j.removeVideoUnit(a),d.release(),j&&a===j.getPlayingVideoUnit()&&(j.$VideoAutoplayControllerX$p_18.release(),j.setPlayingVideoUnit(null))}};b.setShouldAutoplay=function(a){j==null&&(j=new b()),j.$VideoAutoplayControllerX$p_12=a,j.$VideoAutoplayControllerX$p_13=a,j.$VideoAutoplayControllerX$p_9=a,j.updateAutoplay()};e.$VideoAutoplayControllerX$p_19=function(){this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_18.release()};b.setAutoplayNux=function(a,b){var d=j;if(!d)return;d.$VideoAutoplayControllerX$p_2=a;d.$VideoAutoplayControllerX$p_1=b;d.$VideoAutoplayControllerX$p_14=!0;a=c("DOM").find(b.getContentRoot(),"._5cqr");c("Event").listen(a,"click",function(){d.$VideoAutoplayControllerX$p_26()});a=c("DOM").scry(b.getContentRoot(),"._36gl")[0];a&&c("Event").listen(a,"click",function(){d.$VideoAutoplayControllerX$p_26()})};e.$VideoAutoplayControllerX$p_26=function(){this.$VideoAutoplayControllerX$p_1&&this.$VideoAutoplayControllerX$p_1.hide();this.$VideoAutoplayControllerX$p_14=!1;var a=d("ThisControllerNoLongerExists").__DEADBUILDER__("flhg1h0jl").getURI();new(c("AsyncRequest"))(a).setAllowCrossPageTransition().send()};e.registerDefaultAutoplayRules=function(a){c("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&c("VideoPlayerExperiments").pauseMutedIfNoDocumentFocus&&a.registerAutoplayRule(new(c("DocumentFocusForMutedVideoAutoplayRule"))(a))};e.setupPlayingVideoUnitSubscriptions=function(){var a=this,b=this.getPlayingVideoUnit();if(!b)return;b.addListener&&(this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_10.engage(),b.isLooping()||this.$VideoAutoplayControllerX$p_10.addSubscriptions(b.addListener("finishPlayback",function(){a.setPlayingVideoUnit(null)})),this.$VideoAutoplayControllerX$p_10.addSubscriptions(b.addListener("turnOffAutoplay",function(){a.setPlayingVideoUnit(null)}),b.addListener("pausePlayback",function(){a.$VideoAutoplayControllerX$p_25()}),b.addListener("finishPlayback",function(){a.$VideoAutoplayControllerX$p_25()}),c("Network").addListener("online",function(){a.$VideoAutoplayControllerX$p_25()}),c("Network").addListener("offline",function(){a.$VideoAutoplayControllerX$p_25()})))};e.$VideoAutoplayControllerX$p_25=function(){var a=this;if(c("VideoPlayerExperiments").webVideosBlockAutoplayWhenOffline)if(c("Network").isOnline())this.$VideoAutoplayControllerX$p_12=this.$VideoAutoplayControllerX$p_13;else{this.$VideoAutoplayControllerX$p_13=this.$VideoAutoplayControllerX$p_12;this.$VideoAutoplayControllerX$p_12=!1;return}var d=this.getVideoUnits();for(var e=0;e1){var f=c("getViewportDimensions")().height/2;a.forEach(function(a){if(!a.isAutoplayable())return;if(c("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&!b.$VideoAutoplayControllerX$p_28(a))return;var d=a.getDOMPosition();d=d.y+d.height/2;d=Math.abs(d-f);a.playPriority=d;(!e||!e.playPriority||a.playPriority=e){this.$VideoAutoplayControllerX$p_6=b;if(this.$VideoAutoplayControllerX$p_5){d=this.getVisibleUnits();for(e=0;e=0&&(b=e+1)}else{e=c("getViewportDimensions")().height/2;for(var f=0;f0){b=f;break}}}if(b===-1)return;for(g=0;g0;return this.$3||a};b.$14=function(a,b,c){var d={};d.event=a;d.request_status=b;d.perf_time_ms=Date.now()-c};b.fetchFirstStory=function(a,b,d){var e=this;if(b===null&&this.$5.length!==0){var f=this.$5.indexOf(this.$7);b=this.$6[f]}f=c("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setStringVector("video_ids",[this.$7]).setString("root_video_id",this.$7).setBool("is_first_story",!0).setBool("use_video_placeholder",a).setBool("setup_interactions",d).setString("channel_id",this.$8).setString("ad_impression_token",this.$11);b&&f.setStringVector("feed_tracking_data",[JSON.stringify(b)]);var g=Date.now();a=new(c("AsyncRequest"))(f.getURI()).setAllowCrossPageTransition(!0).setHandler(function(){e.$14("fetch_first_story","succeeded",g),e.$15()}).setErrorHandler(function(){e.$14("fetch_first_story","failed",g),e.$15()}).setAbortHandler(function(){e.$14("fetch_first_story","aborted",g),e.$15()});this.$1=a;this.$10=Date.now();a.send()};b.getPreloadedData=function(){return{stories:this.$12,thumbnails:this.$13}};b.$16=function(a,b){var e=this;if(!this.$8)return;a=d("ThisControllerNoLongerExists").__DEADBUILDER__("jp6s5648o").setString("id",this.$8).setEnum("caller",this.$4).setString("original_video_id",this.$7).setInt("story_count",a);this.$2&&a.setString("cursor",this.$2.toString());var f=Date.now();a=a.getURI();a=new(c("AsyncRequest"))(a).setAllowCrossPageTransition(!0).setHandler(function(a){e.$14("fetch_stories_from_entquery","succeeded",f),e.$2=a.getPayload().cursor,e.$3=a.getPayload().hasNextPage,e.$15(),e.$17(a,function(a,c){e.$12=[].concat(e.$12,a);e.$13=[].concat(e.$13,c);return b(a,c)})}).setErrorHandler(function(){e.$14("fetch_stories_from_entquery","failed",f),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_from_entquery","aborted",f),e.$15()});this.$1=a;a.send()};b.$18=function(a,b,d){var e=this,f=this.$9.end,g=this.$5.length-f,h=f+Math.min(g,a);if(g>0){var i=this.$5.slice(f,h);f=this.$6.slice(f,h).map(function(a){return JSON.stringify(a)});i=c("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setString("channel_id",this.$8).setString("root_video_id",this.$7).setStringVector("video_ids",i).setStringVector("feed_tracking_data",f);var j=Date.now();this.$1=new(c("AsyncRequest"))(i.getURI()).setAllowCrossPageTransition(!0).setErrorHandler(function(){e.$14("fetch_stories_forward","failed",j),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_forward","aborted",j),e.$15()}).setHandler(function(a){e.$14("fetch_stories_forward","succeeded",j),e.$9.end=h,e.$15(),e.$17(a,function(a,c){e.$12=[].concat(e.$12,a);e.$13=[].concat(e.$13,c);return b(a,c)})});this.$1.send();d&&d(g)}else this.$3&&(this.$16(a,b),d&&d(a))};b.$19=function(a,b,d){var e=this,f=this.$9.start;if(f>0){var g=Math.max(f-a,0);a=this.$5.slice(g,f);var h=this.$6.slice(g,f).map(function(a){return JSON.stringify(a)});a=c("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setString("channel_id",this.$8).setString("root_video_id",this.$7).setStringVector("video_ids",a).setStringVector("feed_tracking_data",h);var i=Date.now();this.$1=new(c("AsyncRequest"))(a.getURI()).setAllowCrossPageTransition(!0).setErrorHandler(function(){e.$14("fetch_stories_backward","failed",i),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_backward","aborted",i),e.$15()}).setHandler(function(a){e.$14("fetch_stories_backward","succeeded",i),e.$9.start=g,e.$15(),e.$17(a,b)});this.$1.send();d&&d(f-g)}};b.fetchStories=function(a,b,c){var d=3;if(this.$1)return;a?this.$18(d,b,c):this.$19(d,b,c)};b.$17=function(a,b){a=a.getPayload();var d=c("HTML").replaceJSONWrapper(a.stories).getNodes();a=a.thumbnails.map(function(a){return c("HTML").replaceJSONWrapper(a).getRootNode()});b(d,a)};b.$15=function(){this.$1=null};return a}();g["default"]=a}),98); __d("VideoClipButton.react",["cx","fbt","ix","AbstractButton.react","Arbiter","Image.react","TooltipData","XUISpinner.react","XUIText.react","react"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";var k,l=k||d("react"),m=i._(/*BTDS*/"\u0110ang t\u1ea1o clip...");a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e2)return null;if(a.length===2){if(a[1].length===0)return null;var c=a[1];while(c.length<3)c+="0";c=Number(c);if(isNaN(c)||c<0||c>=d("DateConsts").MS_PER_SEC)return null;b+=c/d("DateConsts").MS_PER_SEC}c=a[0].split(":");if(c.length>3)return null;for(a=0;a=60)return null;b+=e*Math.pow(60,c.length-a-1)}return b}function b(a){var b;a=Math.round(a*(b=d("DateConsts")).MS_PER_SEC)/b.MS_PER_SEC;var c=Math.floor(a/b.SEC_PER_HOUR);a=a-c*b.SEC_PER_HOUR;var e=Math.floor(a/b.SEC_PER_MIN),f=Math.floor(a-e*b.SEC_PER_MIN);a=Math.round(a*b.MS_PER_SEC);b=("0"+c).slice(-2);e=("0"+e).slice(-2);f=("0"+f).slice(-2);a=("00"+a).slice(-3);var g="";c>0&&(g+=b+":");return g+=e+":"+f+"."+a}function i(a,b){a=Math.ceil(a)*d("DateConsts").MS_PER_SEC;if(a=f)return[];var g=c("VideoInstreamAdsConstants.experimental").AD_INSERTION_START_TIME_OFFSET_MS/d("DateConsts").MS_PER_SEC,h=b-c("VideoInstreamAdsConstants.experimental").AD_INSERTION_END_TIME_OFFSET_MS/d("DateConsts").MS_PER_SEC,j=c("VideoInstreamAdsConstants.experimental").AD_INSERTION_INTERVAL_MS/d("DateConsts").MS_PER_SEC;if(a.length===0||!e)return[{start:g,end:h}];var k=[];a.forEach(function(b,c){if(c===0){var d=b.timeOffset-j;d>=g&&k.push({start:g,end:d})}if(c-1>=0){d=a[c-1].timeOffset+j;var e=b.timeOffset-j;d<=e&&k.push({start:d,end:e})}if(c===a.length-1){d=b.timeOffset+j;d<=h&&k.push({start:d,end:h})}});return k}function e(a,b,c,d){if(a==null)return!1;c=j(c,b,d);for(b=0;b=c[b].start&&a<=c[b].end)return!0;return!1}function f(a,b,e,f){var g=a[b];if(g.timeOffset*d("DateConsts").MS_PER_SEC=g.timeOffset)continue;if((g.timeOffset-a[e].timeOffset)*d("DateConsts").MS_PER_SEC1;else return!1};e.$12=function(){var a=c("getElementPosition")(d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.bar));this.$7=a;return a};e.$14=function(){var a=c("getElementPosition")(d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.timecode));this.$8=a;return a};e.$15=function(){var a=c("getElementPosition")(d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.previewThumbnailContainer));this.$9=a;return a};e.onDragNubUpdate=function(a){var b=this.$12();this.$13(a,b);this.setState({scrubRatio:l(a,b)})};e.onDragNubRelease=function(a){var b=this.$12();this.$13(a,b);var c=this.props.playbackDuration;a=l(a,b);b=this.state.awaitingUpdate;if(c){c=a*c;this.props.onScrubEnd&&(this.props.onScrubEnd(c),b=!0);var e=this.props.videoClipInfo;e&&e.start_time_in_ms!==null&&(c<=e.start_time_in_ms/d("DateConsts").MS_PER_SEC&&this.setState({shouldIgnoreClipStartTS:!0}))}else this.props.onScrubEnd&&this.props.onScrubEnd(0);this.setState({nubEngaged:!1,awaitingUpdate:b,scrubRatio:a})};e.renderNub=function(){var a=k.jsx("div",{ref:c("stringRefShim")(this,"nub"),className:"_2yua _4sxb"+(this.props.showVideoSliderWarningTooltip?" _83lq":""),onMouseEnter:this.onMouseEnterScrubberNub,onMouseLeave:this.onMouseLeaveScrubberNub});return this.props.showVideoSliderWarningTooltip?k.jsx(c("Tooltip.react"),{className:"_83lm _4sxb",tooltip:"Rewinding, pausing or skipping ahead in the video will be seen by all viewers.",children:a}):a};e.getPlayedRatio=function(a,b){if(this.state.nubEngaged||this.state.awaitingUpdate)return this.state.scrubRatio;if(!a||!b)return 0;b=b/a;return this.getRangeLimitedRatio(b)};e.getBufferedRatio=function(){var a=this.props.playbackDuration,b=this.props.bufferedPosition;if(!a||!b)return 0;b=b/a;return this.getRangeLimitedRatio(b)};e.getRangeLimitedRatio=function(a){return isNaN(a)||a<0||a>1?0:a};e.getNumberOfSprites=function(){return this.$6?this.$6.size:0};e.getAdBreakIndicators=function(){if(!this.props.playbackDuration||!this.props.adBreaks)return null;var a=[];for(var b=0;bg)continue;f={left:f/g*100+"%"};g=[];this.props.adBreaksDisableReasons&&(g=this.props.adBreaksDisableReasons[b]);var h="[FB Only] The in-stream ad is disabled for "+g.join(", ")+".";a.push(k.jsx("div",{style:f,className:(g.length===0?"_1p4l":"")+(g.length>0?" _1p4m":"")+(e.getIsAdBreakAutoInserted()&&g.length===0?" _1p4n":"")+(e.getIsAdBreakAutoInserted()&&g.length>0?" _1p4o":""),children:g.length>0?k.jsx(c("Tooltip.react"),{tooltip:h,children:"X"}):null},"ad_break_indicator_"+b))}return k.jsx("div",{children:a})};e.getInsertedAdBreaks=function(){var a=this;if(!this.props.playbackDuration||!this.props.insertedAdBreaks)return null;var b=[];this.props.insertedAdBreaks.map(function(c,d){c=c.timeOffset;var e=a.props.playbackDuration;c={left:"calc("+c/e*100+"% - 2px)"};b.push(k.jsx("div",{style:c,className:(a.props.isAdBreakInsertionWithoutGapRule?"":"_1p4q")+(a.props.isAdBreakInsertionWithoutGapRule?" _1p4r":"")+(a.props.isAdBreakDisabled?" _1p4s":""),children:a.props.isAdBreakInsertionWithoutGapRule?null:d+1},"inserted_ad_break"+d))});return k.jsx("div",{children:b})};e.getEligibleAdBreaksTimeSegments=function(){var a=this;if(!this.props.playbackDuration||!this.props.insertedAdBreaks)return null;if(this.props.isAdBreakInsertionWithoutGapRule&&this.props.insertedAdBreaks&&this.props.insertedAdBreaks.length>=c("VideoInstreamAdsConstants.experimental").AD_INSERTION_MAXIMUM_NUMBER_OF_AD_BREAKS)return null;var b=0;this.state.awaitingUpdate?b=this.$10:b=this.props.playbackPosition;var e=this.props.playbackDuration,f=d("VideoInstreamUtils").getEligibleTimeSegments(this.props.insertedAdBreaks,e,!this.props.isAdBreakInsertionWithoutGapRule);this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=b;var g=[];f.forEach(function(b,c){var d=(b.end-b.start)/e*100,f=a.$10>=b.start&&a.$10<=b.end;b={left:"calc("+b.start/e*100+"% - 2px)",width:d+"%"};g.push(k.jsx("span",{className:"_1p4t"+(f?" _1p4u":""),style:b},"time_segment"+c))});return k.jsx("div",{className:"_1p50",children:g})};e.getInsertedStarsCues=function(){var a=this.props.selectedStarsCueTimestamp;if(!this.props.playbackDuration||a==null)return null;var b=this.props.playbackDuration,d={left:"calc("+a/b*100+"% - 10px)"};a={left:"calc("+a/b*100+"% - 3px)"};return k.jsxs("div",{children:[k.jsx(c("Image.react"),{src:i("1198335"),style:d,className:"_9evr"}),k.jsx("div",{style:a,className:"_9evs"})]})};e.getEligibleStarsCueTimeSegments=function(){var a=this,b=10;if(!this.props.playbackDuration||this.props.showEligibleStarsCueTimeSegments!==!0)return null;var c;this.state.awaitingUpdate?c=this.$10:c=this.props.playbackPosition;var d=this.props.playbackDuration;b=[{start:b,end:d}];this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=c;var e=[];b.forEach(function(b,c){var f=(b.end-b.start)/d*100,g=a.$10>=b.start&&a.$10<=b.end;b={left:"calc("+b.start/d*100+"% - 2px)",width:f+"%"};e.push(k.jsx("span",{className:"_9evt"+(g?" _1p4u":""),style:b},"time_segment"+c))});return k.jsx("div",{className:"_9evu",children:e})};e.getPollTimeSegments=function(){var a,b=this;if(!this.props.playbackDuration)return null;var d;if(!this.props.showPollCard)return null;this.state.awaitingUpdate?d=this.$10:d=this.props.playbackPosition;var e=this.props.playbackDuration;a=(a=this.props.pollTimestamps)!=null?a:[];this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=d;var f=[];a.forEach(function(a,d){var g={left:"calc("+a/e*100+"%)"},h=b.$10>=a;f.push(k.jsx(c("ClickableArea.react"),{onClick:function(d){d.stopPropagation(),d.persist(),b.props.onScrubEnd(a),c("Arbiter").inform("PollIconClicked")},children:k.jsx("span",{className:"_80r-",style:g,children:k.jsx(c("Image.react"),{className:"_80rd",src:h?i("936893"):i("936896")})},"poll_segment"+d)},d));f.push(k.jsx("span",{className:"_80re",style:g},"time_segment"+d))});return k.jsx("div",{className:"_80rf",children:f})};e.onMouseEnter=function(a){if(this.props.alwaysShowThumbnail)return;this.$12();this.setState({mouseOver:!0})};e.onMouseLeave=function(a){if(this.props.alwaysShowThumbnail)return;d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.bar).blur();this.setState({mouseOver:!1});this.state.nubEngaged||this.setState({scrubberPreviewSpriteIndex:0,scrubberPreviewBackgroundPosition:{x:0,y:0}});this.$9=null;this.$8=null};e.onMouseEnterOnThumbnailOrTimecode=function(a){if(this.state.nubEngaged||this.props.alwaysShowThumbnail)return;this.props.hasScrubberPreview?a=this.refs.previewThumbnailContainer:a=this.refs.timecode;a=d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(a);a.style.visibility="hidden"};e.onMouseLeaveOnThumbnailOrTimecode=function(a){if(this.state.nubEngaged||this.props.alwaysShowThumbnail)return;this.props.hasScrubberPreview?a=this.refs.previewThumbnailContainer:a=this.refs.timecode;a=d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(a);a.style.visibility="visible"};e.onKeyDown=function(a){var b=this.props.playbackDuration,d=this.props.playbackPosition;if(!b||!d)return;d=d;if(a.keyCode===c("Keys").RIGHT){a.preventDefault();a.stopPropagation();if(this.props.isLiveVideo&&this.props.onLiveRewindSeekForward){this.props.onLiveRewindSeekForward();return}d+=5;d>=b&&(d=b-.01)}else if(a.keyCode===c("Keys").LEFT){a.preventDefault();a.stopPropagation();if(this.props.isLiveVideo&&this.props.onLiveRewindSeekBack){this.props.onLiveRewindSeekBack();return}d-=5;d<0&&(d=0)}else if(a.keyCode===c("Keys").HOME){a.preventDefault();a.stopPropagation();if(this.props.isLiveVideo&&this.props.onLiveRewindToBeginning){this.props.onLiveRewindToBeginning();return}d=0}else if(a.keyCode===c("Keys").END){a.preventDefault();a.stopPropagation();if(this.props.isLiveVideo&&this.props.onLiveRewindToLive){this.props.onLiveRewindToLive();return}d=b-.01}else return;this.props.onScrubEnd&&this.props.onScrubEnd(d)};e.render=function(){var a=c("joinClasses")(this.props.className,"_2yu5"+(this.state.nubEngaged?" _2yu6":"")),b=(this.props.hasScrubberPreview?"_3iit":"")+(this.props.hasScrubberPreview?"":" _3iiu"),e={width:this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)*100+"%"},f={width:this.getBufferedRatio()*100+"%"},g=this.props.videoClipInfo,h="0%";if(g){var i=this.getRangeLimitedRatio(g.start_time_in_ms/d("DateConsts").MS_PER_SEC/this.props.playbackDuration);h=i*100+"%";this.state.shouldIgnoreClipStartTS||(e={width:this.getRangeLimitedRatio(this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)-i)*100+"%",marginLeft:h},f={width:this.getRangeLimitedRatio(this.getBufferedRatio()-i)*100+"%",marginLeft:h})}i={left:this.state.timecodeRatio*100+"%",display:this.state.hoverNub?"none":"block"};var j={},l={},m=null,n=null,o=null;if(this.state.mouseOver||this.state.nubEngaged||this.props.alwaysShowThumbnail){o=k.jsx(c("VideoPlaybackTimer.react"),{className:b,isInScrubberPreview:!0,onMouseEnter:this.onMouseEnterOnThumbnailOrTimecode.bind(this),onMouseLeave:this.onMouseLeaveOnThumbnailOrTimecode.bind(this),playbackPosTimestamp:0,ref:c("stringRefShim")(this,"timecode"),remainingTimestamp:this.state.timecodeTimestamp,style:i});if(this.props.hasScrubberPreview&&this.state.previewThumbnailInformation){b=this.state.previewThumbnailInformation.previewScrubberWidth;i=this.state.previewThumbnailInformation.previewScrubberHeight;var p=100,q=100;this.getNumberOfSprites()!==this.state.scrubberPreviewSpriteIndex?(p*=this.state.previewThumbnailInformation.imagesPerRow,q*=this.state.previewThumbnailInformation.imagesPerColumn):this.state.lastSpriteDimension.numRow&&(p*=this.state.lastSpriteDimension.numRow,q*=this.state.lastSpriteDimension.numColumn);var r=this.state.previewThumbnailInformation.stereoMode;r==="left-right"?(b/=2,p*=2):r==="top-bottom"&&(i/=2,q*=2);r=1;this.props.isFullscreen?r=1.5:this.props.isInTahoe&&(r=1.2);if(this.state.previewThumbnailInformation.useScrubberVideo&&this.state.previewThumbnailInformation.scrubberVideoURI!==null)j={width:b*r+"px",height:i*r+"px"},n=k.jsx("video",{muted:"true",preload:"auto",ref:c("stringRefShim")(this,"previewThumbnailVideo"),src:this.state.previewThumbnailInformation.scrubberVideoURI,style:j});else if(this.$6){var s="";if(this.state.scrubberPreviewSpriteIndex){var t=this.$6.get(this.state.scrubberPreviewSpriteIndex);t!=null&&t!==""&&(s="url("+t+")")}var u;p>100?u=p+"% "+q+"%":s="";j={width:b*r+"px",height:i*r+"px",backgroundImage:s,backgroundPosition:"-"+this.state.scrubberPreviewBackgroundPosition.x*r+"px -"+this.state.scrubberPreviewBackgroundPosition.y*r+"px",backgroundSize:u};n=k.jsx("div",{className:"_3iiw",ref:c("stringRefShim")(this,"previewThumbnail"),style:j})}l={left:this.state.previewRatio*100+"%",display:this.props.alwaysShowThumbnail?"block":void 0};m=k.jsxs("div",{onMouseEnter:this.onMouseEnterOnThumbnailOrTimecode.bind(this),onMouseLeave:this.onMouseLeaveOnThumbnailOrTimecode.bind(this),className:"_3iiv",ref:c("stringRefShim")(this,"previewThumbnailContainer"),style:l,children:[n,o]})}}t=null;this.props.pointsOfInterest.length>0&&(t=k.jsx(c("VideoScrubberPointOfInterestBar.react"),{tabIndex:this.props.tabIndex,playbackDuration:this.props.playbackDuration,onPointOfInterestSelect:this.props.onPointOfInterestSelect,currentPointOfInterest:this.props.currentPointOfInterest,pointsOfInterest:this.props.pointsOfInterest,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps}));p=null;q=this.getAdBreakIndicators();b=this.props.playbackDuration>500?10:1;i=Math.round(this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)*100*b)/b;s="Current position is "+i+"%";r=this.props.isFullscreen||this.props.isInTahoe;j=k.jsx("div",{className:a,onKeyDown:this.onKeyDown.bind(this),onMouseDown:this.onDragNubBeginClick.bind(this),onMouseEnter:this.onMouseEnter.bind(this),onMouseLeave:this.onMouseLeave.bind(this),onTouchStart:this.onDragNubBeginTouch.bind(this),children:k.jsxs("div",{tabIndex:this.props.tabIndex,role:"slider","aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":this.props.playbackDuration,"aria-valuenow":this.props.playbackPosition,"aria-valuetext":s,className:"_2yu7",ref:c("stringRefShim")(this,"bar"),children:[k.jsx("div",{className:"_2yu8",style:f}),k.jsx("div",{style:e,className:(this.props.isLiveVideo?"":"_2yu9")+(this.props.isLiveVideo&&!this.props.isLiveRewound?" _1p51":"")+(this.props.isLiveRewound?" _1p52":""),children:this.renderNub()}),g?k.jsx("div",{className:"_355j",style:{width:h},children:k.jsx(c("ProfileTile.react"),{id:g.sharer_id,size:r?32:24,imageProps:{className:"_355k"},tileProps:{className:"_355n",style:{marginTop:r?-16:-10}}})}):null,this.props.hasScrubberPreview?m:o,q,this.getInsertedAdBreaks(),this.getInsertedStarsCues(),this.getEligibleAdBreaksTimeSegments(),this.getEligibleStarsCueTimeSegments(),this.getPollTimeSegments()]})});return k.jsxs("div",{children:[p,j,t]})};return b}(k.Component);a.defaultProps={alwaysShowThumbnail:!1,annotatedMomentsOfInterest:{},hasScrubberPreview:!1,isAdBreakInsertionWithoutGapRule:!1,isFullscreen:!1,isInTahoe:!1,isLiveRewound:!1,isLiveVideo:!1,isPlaying:!1,pointsOfInterest:[],onAnnotatedMomentOfInterestSelect:c("emptyFunction"),onPointOfInterestSelect:c("emptyFunction"),onScrubBegin:c("emptyFunction"),onScrubEnd:c("emptyFunction"),showEligibleStarsCueTimeSegments:!1,showPointOfInterestTimestamps:!1,showPollCard:!1,showVideoSliderWarningTooltip:!1,selectedStarsCueTimestamp:null};g["default"]=a}),98); __d("VideoSidepaneToggleControl.react",["cx","fbt","ix","AbstractButton.react","Image.react","TooltipData","react","stringRefShim","vulture"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";var k,l=k||d("react");a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e1&&(b=1);else if(a.keyCode===c("Keys").DOWN)a.preventDefault(),a.stopPropagation(),b-=.05,b<0&&(b=0);else return;this.onSliderVolumeChangeEnd(b)};e.onMouseOut=function(a){d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.button).blur()};e.getVolume=function(){return this.props.isMuted?0:this.props.volume};e.onSliderVolumeChangeBegin=function(){var a=this.props.volume;a>0&&(this.setState({nubEngaged:!0,lastVolumeBeforeMute:a}),c("VideoPlayerVolumeSettings").saveLastVolumeBeforeMute(a))};e.onSliderVolumeChangeEnd=function(a){a>0?(this.setState({lastVolumeBeforeMute:a}),c("VideoPlayerVolumeSettings").saveLastVolumeBeforeMute(a),this.onSliderVolumeChange(a)):(this.props.onVolumeChange(this.state.lastVolumeBeforeMute),this.props.isMuted||this.props.onToggleMuted&&this.props.onToggleMuted()),this.setState({nubEngaged:!1})};e.onSliderVolumeChange=function(a){(a>0&&this.props.isMuted||a===0&&!this.props.isMuted)&&(this.props.onToggleMuted&&this.props.onToggleMuted()),this.props.onVolumeChange&&this.props.onVolumeChange(a)};e.checkLastVolumeBeforeMuteInvariant=function(){this.state.lastVolumeBeforeMute>0&&this.state.lastVolumeBeforeMute<=1||j(0,2385)};e.render=function(){var a=this,b=Math.round(this.getVolume()*100),e=null,f="";if(this.props.isAudioBlocked)f=i._(/*BTDS*/"Kh\u00f4ng c\u00f3 \u00e2m thanh"),e=m.jsx("div",{children:m.jsx(c("Image.react"),{className:"_rwt",src:this.props.useDarkTheme?k("797748"):k("660433")})});else if(b==0)e=m.jsx(c("Image.react"),{className:"_rwt",src:this.props.useDarkTheme?k("462991"):k("462993")});else{var g=null;b<=33?g=this.props.useDarkTheme?k("462983"):k("462984"):b<=66?g=this.props.useDarkTheme?k("462987"):k("462988"):g=this.props.useDarkTheme?k("462971"):k("443962");e=m.jsx("div",{className:"_1age",children:m.jsx("div",{className:"_1agf",children:m.jsx(c("Image.react"),{className:"_rwt",src:g})})})}b="_2swo"+(this.state.nubEngaged?" _2yu6":"")+(this.state.focused?" _2iw8":"");g="_zbd _1agg";var h=this.getVolume()?i._(/*BTDS*/"T\u1eaft ti\u1ebfng"):i._(/*BTDS*/"B\u1eadt ti\u1ebfng"),j=this.props.isAudioBlocked?null:m.jsx(c("VideoVolumeSlider.react"),{onVolumeChangeBegin:this.onSliderVolumeChangeBegin.bind(this),onVolumeChangeEnd:this.onSliderVolumeChangeEnd.bind(this),onVolumeChange:this.onSliderVolumeChange.bind(this),isHorizontal:this.props.isHorizontal||!1,volume:this.getVolume()});f=m.jsx(c("AbstractButton.react"),babelHelpers["extends"]({},d("TooltipData").propsFor(f,"above"),{className:g,"data-testid":void 0,image:e,label:h,labelIsHidden:!0,onBlur:this.onButtonBlur.bind(this),onClick:this.onButtonClick.bind(this),onFocus:this.onButtonFocus.bind(this),onKeyDown:this.onKeyDown.bind(this),onMouseOut:this.onMouseOut.bind(this),ref:c("stringRefShim")(this,"button"),tabIndex:this.props.tabIndex,type:"button"}));g=this.props.showSpatialAudioNUX?m.jsx(c("SpatialAudioFeedNUX.react"),{contextRef:function(){return a.refs.button}}):null;return this.props.isHorizontal?m.jsxs("div",{className:b,children:[f,j,g]}):m.jsxs("div",{className:b,children:[j,f,g]})};return b}(m.Component);a.defaultProps={isAudioBlocked:!1,useDarkTheme:!1};g["default"]=a}),226); __d("lazyLoadComponent",["BootloaderResource","cr:2448","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){var h=["ref"],i,j=i||d("react"),k=new Map();function l(a,b){k.set(a,b)}function m(a){return k.get(a)}function a(a){var c=m(a);if(c)return c;function e(c){var e=d("react-compiler-runtime").c(7),f,g;e[0]!==c?(g=c.ref,f=babelHelpers.objectWithoutPropertiesLoose(c,h),e[0]=c,e[1]=f,e[2]=g):(f=e[1],g=e[2]);c=g===void 0?void 0:g;e[3]===Symbol["for"]("react.memo_cache_sentinel")?(g=d("BootloaderResource").read(a),e[3]=g):g=e[3];g=g;b("cr:2448")(a);e[4]!==f||e[5]!==c?(g=j.jsx(g,babelHelpers["extends"]({},f,{ref:c})),e[4]=f,e[5]=c,e[6]=g):g=e[6];return g}e.displayName="lazyLoadComponent("+a.getModuleId()+")";l(a,e);return e}g["default"]=a}),98); __d("VideoControls.react",["cx","fbt","ix","AbstractButton.react","BootloadedComponent.react","FluxContainer","Image.react","JSResource","LiveVideoRewindTypedLogger","TooltipData","VideoClipButton.react","VideoFBIconControl.react","VideoFullscreenControl.react","VideoPlaybackControl.react","VideoPlaybackRateControl.react","VideoPlaybackTimer.react","VideoPlayerExperiments","VideoPollCardDispatcher","VideoPollCardStore","VideoScrubber.react","VideoSidepaneToggleControl.react","VideoVolumeControl.react","emptyFunction","immutable","joinClasses","lazyLoadComponent","react","shallowCompare","stringRefShim"],(function(a,b,c,d,e,f,g,h,i,j){var k,l=k||d("react"),m=c("lazyLoadComponent")(c("JSResource")("VideoActionsControl.react").__setRef("VideoControls.react")),n=36;a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e0:null))this.props.drawer&&this.props.drawer.setHeight(55);else{a=this.props.isInWatchAndScroll?55:n;this.props.drawer&&this.props.drawer.setHeight(a)}};e.isHidden=function(){return this.props.hidden};e.isTransparent=function(){return this.props.transparent};e.render=function(){var a=c("VideoPlayerExperiments").inlineSoundVisible,b="_1c7d"+(this.isHidden()?" _1c7e":"")+(this.isTransparent()&&!a?" _2oy-":""),e="_2w_u"+(this.props.showSidePaneToggle?" _vr5":"")+(this.props.useDarkTheme?" _vr6":""),f="_1c7f _1c7g"+(this.isTransparent()&&a?" _2oy-":""),g="_1c7f _2pvx"+(this.isTransparent()&&a?" _2oy-":""),h="_1c7f _1c7h"+(this.isTransparent()&&a?" _2oy-":""),k="_1c7f _w7o"+(this.isTransparent()&&(!this.props.isInline||this.props.isFullscreen||!this.props.isPlaying)?" _2oy-":""),n="_2w_w",o=!1;this.props.isLive&&this.props.isInTahoe&&(o=!0);o="_1otk _3t1r _4ubd"+(o?" _w7y":"");var p="_3t1r _4ubd _3t1s"+(this.props.isCommentAttachment?"":" hidden_elem"),q=null;if(!(this.props.isLive||this.props.isFBWasLive)&&!this.props.hideRemainingTime&&!this.props.isInWatchAndScroll){var r=this.props.playbackPosition-this.props.playbackDuration;q=l.jsx(c("VideoPlaybackTimer.react"),{className:"_5qsr"+(this.props.displayMilliseconds?" _w7-":""),isEmbedded:this.props.isEmbedded,playbackPosTimestamp:this.props.playbackPosition,playbackDurationTimestamp:this.props.playbackDuration,remainingTimestamp:r,displayElapsedTime:this.props.displayElapsedTime,displayMilliseconds:this.props.displayMilliseconds,displayBothTimes:!1})}r=null;var s=null,t=null,u=null,v=null,w=this.props,x=w.showInlineCopyLinkOption;w=w.showInlineVideoReportOption;var y=w||x;!this.props.hideSettings&&!this.props.isInWatchAndScroll&&!this.props.isEmbedded&&y&&(u=l.jsx(l.Suspense,{fallback:l.jsx("span",{}),children:l.jsx(m,{disabled:this.props.isCasting,onActionsClicked:this.props.onActionsClick,permalinkURL:this.props.permalinkURL,showCopyLink:x,showReportVideo:w,tabIndex:0})}));var z;this.props.isInTahoe&&this.props.isLive&&!this.props.isFullscreen&&(z=l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoQuietModeControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),videoID:this.props.videoID}));if((!this.props.isLive||this.props.hasHD)&&(!this.props.hideSettings&&!this.props.isInWatchAndScroll&&c("VideoPlayerExperiments").redesign)){t=l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoSettingsControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),disabled:this.props.isCasting,hasHD:this.props.hasHD,hasCaptions:this.props.hasCaptions,isHD:this.props.isHD,isInline:this.props.isInline,isLive:this.props.isLive,isSphericalVideo:this.props.isSphericalVideo,areCaptionsActive:this.props.areCaptionsActive,areCaptionsAutogenerated:this.props.areCaptionsAutogenerated,onSettingsClick:this.props.onSettingsClick,onToggleHD:this.props.onToggleHD,onToggleCaptions:this.props.onToggleCaptions,tabIndex:"0",availableQualities:this.props.availableQualities,selectedQuality:(y=this.props.selectedQuality)!=null?y:null,preferredQuality:(x=this.props.preferredQuality)!=null?x:null,canAutoSelectVideoQuality:this.props.canAutoSelectVideoQuality,onSelectQuality:this.props.onSelectQuality,showQualitySelector:this.props.showQualitySelector,qualitySelectorMinStreams:this.props.qualitySelectorMinStreams,streamingFormat:this.props.streamingFormat,videoID:this.props.videoID})}this.props.isLive&&(c("VideoPlayerExperiments").hlsButton&&(v=l.jsx(c("BootloadedComponent.react"),{bootloadPlaceholder:l.jsx("span",{}),bootloadLoader:c("JSResource")("VideoToHLSControl.react").__setRef("VideoControls.react"),areHLSActive:this.props.areHLSActive,onToggleHLS:this.props.onToggleHLS,tabIndex:"0"})));w=this.props.gamesVideoCreatorClipping&&(this.props.isInTahoe||this.props.isInline||this.props.gamesVideoClipButtonEnabled)&&this.props.gamesDefaultClipLengthInSec!=null&&this.props.gamesDefaultClipLengthInSec>0?l.jsx(c("VideoClipButton.react"),{onClipVideo:this.props.onClipVideo,defaultLengthInSec:this.props.gamesDefaultClipLengthInSec}):null;y=null;if(this.props.allowFullscreen)if(this.props.doesFullscreenEnterTahoe&&(this.props.isInline||this.props.isInWatchAndScroll)){x=l.jsx(c("Image.react"),{className:"_rwt",src:j("407577")});var A=i._(/*BTDS*/"Nh\u1ea5p \u0111\u1ec3 ph\u00f3ng to");y=l.jsx(c("AbstractButton.react"),babelHelpers["extends"]({},d("TooltipData").propsFor(A,"above"),{className:"_zbd _400z _1vek",image:x,label:A,labelIsHidden:!0,onClick:this.props.onEnterTahoe,tabIndex:"0"}))}else{x=this.props.isFullscreen?i._(/*BTDS*/"Nh\u1ea5p \u0111\u1ec3 tho\u00e1t ch\u1ebf \u0111\u1ed9 to\u00e0n m\u00e0n h\u00ecnh"):i._(/*BTDS*/"Nh\u1ea5p \u0111\u1ec3 chuy\u1ec3n sang to\u00e0n m\u00e0n h\u00ecnh");y=l.jsx(c("VideoFullscreenControl.react"),babelHelpers["extends"]({},d("TooltipData").propsFor(x,"above"),{disabled:this.props.isCasting&&!this.props.isFullscreen,isFullscreen:this.props.isFullscreen,onToggleFullscreen:this.props.onToggleFullscreen,tabIndex:"0"}))}A=null;this.props.hasWatchAndScroll&&!this.props.isFullscreen&&!this.props.isInWatchAndScroll&&(A=l.jsx(c("BootloadedComponent.react"),{bootloadPlaceholder:l.jsx("span",{}),bootloadLoader:c("JSResource")("VideoWatchAndScrollControl.react").__setRef("VideoControls.react"),disabled:this.props.isCasting,onEnterWatchAndScroll:this.props.onEnterWatchAndScroll,isSlidingWNSEligible:this.props.isSlidingWNSEligible,onWNSNUXClose:this.props.onWNSNUXClose,showWNSNUX:this.props.showWNSNUX}));x=null;this.props.allowCasting&&this.props.hasFoundReceiver&&(x=l.jsx(c("BootloadedComponent.react"),{bootloadPlaceholder:l.jsx("span",{}),bootloadLoader:c("JSResource")("VideoCastingControl.react").__setRef("VideoControls.react"),hasFoundReceiver:this.props.hasFoundReceiver,isCasting:this.props.isCasting,isCastingSupported:this.props.isCastingSupported,onStartCast:this.props.onStartCast,onStopCast:this.props.onStopCast}));var B=null;if(this.props.isEmbeddedPlayerRedesignEnabled)B=this.props.permalinkURL&&this.props.showPermalinkButton?l.jsx(c("VideoFBIconControl.react"),{permalinkURL:this.props.permalinkURL,playbackPosTimestamp:this.props.playbackPosition}):null;else{var C=null,D=this.props.isWatchIconEligible?j("909284"):j("804741");if(this.props.permalinkURL&&this.props.showPermalinkButton){C=l.jsx(c("Image.react"),{className:"_rwt",src:D});D=i._(/*BTDS*/"M\u1edf b\u1eb1ng tab m\u1edbi");B=l.jsx(c("AbstractButton.react"),babelHelpers["extends"]({},d("TooltipData").propsFor(D,"above"),{className:"_zbd",href:this.props.permalinkURL,image:C,label:D,labelIsHidden:!0,ref:c("stringRefShim")(this,"button"),tabIndex:"0",target:"_blank",type:"button"}))}}C=null;D=null;var E=null,F=null,G=null;if((this.props.isLive||this.props.isFBWasLive)&&this.props.showPlayButtonForLive&&!this.props.isLiveRewindEnabled)D=l.jsx(c("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"});else if(!(this.props.isLive||this.props.isFBWasLive)&&!this.props.hidePlaybackControl){D=l.jsx(c("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"});if(this.props.showPlaybackRateControl&&this.props.onSetVideoPlaybackRate){var H=i._(/*BTDS*/"T\u1ed1c \u0111\u1ed9 ph\u00e1t l\u1ea1i");E=l.jsx(c("VideoPlaybackRateControl.react"),babelHelpers["extends"]({},d("TooltipData").propsFor(H,"above"),{isEmbedded:this.props.isEmbedded,tabIndex:0,onSelectPlaybackRate:this.props.onSetVideoPlaybackRate}))}if(!this.props.hidePlaybackScrubber){H=!this.props.finishedPlaying&&(this.props.vpcID!==void 0?this.state.pollCardsActiveForVPC[(H=this.props.vpcID)!=null?H:""]!==null?((H=this.state.pollCardsActiveForVPC[(H=this.props.vpcID)!=null?H:""])!=null?H:c("immutable").List()).size===0:!0:!1);C=l.jsx(c("VideoScrubber.react"),{adBreaks:this.props.adBreaks,adBreaksDisableReasons:this.props.adBreaksDisableReasons,annotatedMomentsOfInterest:this.props.annotatedMomentsOfInterest,bufferedPosition:this.props.bufferedPosition,controlsHidden:this.props.hidden,hasScrubberPreview:this.props.hasScrubberPreview,interestLevels:this.props.interestLevels,drawer:this.props.drawer,insertedAdBreaks:this.props.insertedAdBreaks,isAdBreakDisabled:this.props.isAdBreakDisabled,isAdBreakInsertionWithoutGapRule:this.props.isAdBreakInsertionWithoutGapRule,isFullscreen:this.props.isFullscreen,isPlaying:this.props.isPlaying,onScrubBegin:this.props.onScrubBegin,onScrubEnd:this.props.onScrubEnd,playbackDuration:this.props.playbackDuration,playbackPosition:this.props.playbackPosition,pollTimestamps:this.props.pollTimestamps,showPollCard:H,onAnnotatedMomentOfInterestSelect:this.props.onAnnotatedMomentOfInterestSelect,previewThumbnailInformation:this.props.previewThumbnailInformation,scrubberPreviewSprites:this.props.scrubberPreviewSprites,showEligibleStarsCueTimeSegments:this.props.showEligibleStarsCueTimeSegments,selectedStarsCueTimestamp:this.props.selectedStarsCueTimestamp,onPointOfInterestSelect:this.props.onPointOfInterestSelect,currentPointOfInterest:this.props.currentPointOfInterest,pointsOfInterest:this.props.pointsOfInterest,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps,showVideoSliderWarningTooltip:(H=this.props.showVideoSliderWarningTooltip)!=null?H:!1,tabIndex:0,isInTahoe:this.props.isInTahoe,videoClipInfo:this.props.videoClipInfo})}}H=null;this.props.showSidePaneToggle&&(H=l.jsx(c("VideoSidepaneToggleControl.react"),{isSidePaneOpen:this.props.isSidePaneOpen,onSidePaneToggle:this.props.onSidePaneToggle,tabIndex:"0"}));var I=null;this.props.hideGradient||(I=l.jsx("div",{className:"_w80"+(this.isTransparent()?" _2oy-":"")+(this.props.useLargerGradient?" _8y-6":"")}));var J=l.jsx(c("VideoVolumeControl.react"),{isAudioBlocked:this.props.isAudioBlocked,isMuted:this.props.isMuted,onToggleMuted:this.props.onToggleMuted,onVolumeChange:this.props.onVolumeChange,volume:this.props.volume,tabIndex:"0",showSpatialAudioNUX:this.props.showSpatialAudioNUX,useDarkTheme:this.props.useDarkTheme}),K,L,M,N,O,P,Q,R,S=this.props,T=S.onLiveRewindToBeginning,U=S.onLiveRewindSeekBack,V=S.onLiveRewindSeekForward;S=S.onLiveRewindToLive;if(this.props.isLiveRewindEnabled&&!this.props.isEmbedded){if(this.props.liveRelativePlaybackPosition!=null){var W=this.props.liveRelativePlaybackPosition>this.props.playbackDuration?this.props.playbackDuration:this.props.liveRelativePlaybackPosition;Q=this.props.isInWatchAndScroll?null:l.jsx(c("VideoPlaybackTimer.react"),{className:"_3ek9 _5qsr"+(this.props.displayMilliseconds?" _w7-":""),displayElapsedTime:!0,displayMilliseconds:this.props.displayMilliseconds,isEmbedded:this.props.isEmbedded,isLiveVideo:!0,playbackPosTimestamp:W,playbackDurationTimestamp:this.props.isFBWasLive?this.props.playbackDuration:void 0,displayBothTimes:this.props.isFBWasLive,remainingTimestamp:-1*(this.props.playbackDuration-W)});P=l.jsx(c("VideoScrubber.react"),{adBreaks:this.props.adBreaks,adBreaksDisableReasons:this.props.adBreaksDisableReasons,bufferedPosition:this.props.bufferedPosition,className:"_3ek9",controlsHidden:this.props.hidden,currentPointOfInterest:this.props.currentPointOfInterest,drawer:this.props.drawer,hasScrubberPreview:this.props.hasScrubberPreview,interestLevels:this.props.interestLevels,insertedAdBreaks:this.props.insertedAdBreaks,isAdBreakDisabled:this.props.isAdBreakDisabled,isAdBreakInsertionWithoutGapRule:this.props.isAdBreakInsertionWithoutGapRule,isFullscreen:this.props.isFullscreen,isInTahoe:this.props.isInTahoe,isLiveRewound:this.props.isLiveRewound,isLiveVideo:!0,isPlaying:this.props.isPlaying,playbackDuration:this.props.playbackDuration,playbackPosition:this.props.isLiveRewound?W:this.props.playbackDuration,pointsOfInterest:this.props.pointsOfInterest,previewThumbnailInformation:this.props.previewThumbnailInformation,scrubberPreviewSprites:this.props.scrubberPreviewSprites,showEligibleStarsCueTimeSegments:this.props.showEligibleStarsCueTimeSegments,selectedStarsCueTimestamp:this.props.selectedStarsCueTimestamp,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps,tabIndex:0,onLiveRewindToBeginning:this.props.onLiveRewindToBeginning,onLiveRewindSeekBack:this.props.onLiveRewindSeekBack,onLiveRewindSeekForward:this.props.onLiveRewindSeekForward,onLiveRewindToLive:this.props.onLiveRewindToLive,onPointOfInterestSelect:this.props.onPointOfInterestSelect,onScrubBegin:this.props.onScrubBegin,onScrubEnd:this.props.onScrubEnd});if(this.props.showPlaybackRateControl&&this.props.onSetVideoPlaybackRate&&this.props.isLiveRewound){W=i._(/*BTDS*/"T\u1ed1c \u0111\u1ed9 ph\u00e1t l\u1ea1i");E=l.jsx(c("VideoPlaybackRateControl.react"),babelHelpers["extends"]({},d("TooltipData").propsFor(W,"above"),{isEmbedded:this.props.isEmbedded,tabIndex:0,onSelectPlaybackRate:this.props.onSetVideoPlaybackRate}))}new(c("LiveVideoRewindTypedLogger"))().setEvent("render_rewind_controls").setVideoID(this.props.videoID).log()}K=T&&!this.props.isInWatchAndScroll&&!this.props.isInline?l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),asset:j("465766"),tooltip:i._(/*BTDS*/"Chuy\u1ec3n \u0111\u1ebfn ph\u1ea7n \u0111\u1ea7u"),onButtonClick:T}):null;R=this.props.isFBWasLive&&S&&!this.props.isInWatchAndScroll&&!this.props.isInline?l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),asset:j("465765"),tooltip:i._(/*BTDS*/"Chuy\u1ec3n \u0111\u1ebfn cu\u1ed1i"),onButtonClick:S}):null;L=U&&!this.props.isInWatchAndScroll?l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),asset:j("465767"),tooltip:i._(/*BTDS*/"Quay l\u1ea1i 10 gi\u00e2y tr\u01b0\u1edbc"),onButtonClick:U}):null;W=this.props.isLiveRewound?i._(/*BTDS*/"Chuy\u1ec3n \u0111\u1ebfn 10 gi\u00e2y ti\u1ebfp theo"):void 0;M=V&&!this.props.isInWatchAndScroll&&!this.props.isInline?l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),asset:j("465768"),disabled:!this.props.isLiveRewound,tooltip:W,onButtonClick:V}):null;T=this.props.isLiveRewound?j("467224"):j("467223");U=this.props.isLiveRewound?i._(/*BTDS*/"Ch\u1ebf \u0111\u1ed9 xem tr\u1ef1c ti\u1ebfp"):void 0;N=S?l.jsx(c("BootloadedComponent.react"),{bootloadLoader:c("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:l.jsx("span",{}),asset:T,tooltip:U,onButtonClick:S}):null;O=this.props.isInWatchAndScroll?null:l.jsx(c("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isLiveVideo:!0,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"})}W=null;V=this.props.showControlsOnFullScreenOnly===!0?this.props.isFullscreen:!0;if(this.props.useTwoRows){T=l.jsx(c("VideoVolumeControl.react"),{isAudioBlocked:this.props.isAudioBlocked,isMuted:this.props.isMuted,onToggleMuted:this.props.onToggleMuted,onVolumeChange:this.props.onVolumeChange,volume:this.props.volume,isHorizontal:!0,tabIndex:"0"});W=l.jsxs("div",{className:p,children:[l.jsx("div",{className:n,children:l.jsxs("div",{className:b,children:[l.jsx("div",{className:f}),l.jsx("div",{className:g,children:C}),l.jsx("div",{className:h,children:q})]})}),l.jsx("div",{className:n,children:l.jsxs("div",{className:b,children:[l.jsxs("div",{className:f,children:[D,E,T]}),l.jsx("div",{className:g}),l.jsxs("div",{className:h,children:[s,v,r,t,A,x,y,B,w,u]})]})})]})}if(c("VideoPlayerExperiments").embeddedPlayerEnhancements&&this.props.isEmbedded){U=c("joinClasses")(b,c("VideoPlayerExperiments").embeddedPlayerEnhancements?"_w83":"");S=c("joinClasses")(b,"_w86");p=l.jsx("div",{className:U,children:l.jsxs("div",{className:n,children:[l.jsxs("div",{className:S,children:[V&&l.jsxs("div",{className:f,children:[D,E]}),l.jsx("div",{className:g,children:C}),l.jsx("div",{className:h,children:q})]}),l.jsxs("div",{className:b,children:[V&&l.jsxs(l.Fragment,{children:[l.jsx("div",{className:f}),l.jsx("div",{className:g})]}),l.jsxs("div",{className:h,children:[V&&l.jsxs(l.Fragment,{children:[a||J,s,v,r,z,t,A,x,H]}),y,V&&l.jsxs(l.Fragment,{children:[B,w,u]})]}),l.jsx("div",{className:k,children:!a||J})]})]})})}else p=!this.props.useTwoRows||!this.props.isCommentAttachment?l.jsx("div",{className:o,"data-testid":void 0,children:l.jsx("div",{className:n,children:l.jsxs("div",{className:b,children:[l.jsxs("div",{className:f,children:[V&&l.jsxs(l.Fragment,{children:[G,D,E,F,K,L,O,M]}),this.props.isFBWasLive?R:N,Q]}),l.jsxs("div",{className:g,children:[C,P]}),l.jsxs("div",{className:h,children:[q,V&&l.jsxs(l.Fragment,{children:[a||J,s,v,r,z,t,A,x,H]}),y,V&&l.jsxs(l.Fragment,{children:[B,w,u]})]}),l.jsx("div",{className:k,children:this.props.allowAudioButton===!1?l.jsx("div",{}):!a||J})]})})}):null;return l.jsxs("div",{className:e,children:[I,p,W]})};return b}(l.Component);a.defaultProps={allowCasting:!1,allowAudioButton:!0,bufferedPosition:0,displayElapsedTime:!1,showControlsOnFullScreenOnly:!1,displayMilliseconds:!1,gamesVideoClipButtonEnabled:!1,gamesVideoCreatorClipping:!1,gamesDefaultClipLengthInSec:void 0,hasFoundReceiver:!1,hidden:!1,hideGradient:!1,hidePlaybackControl:!1,hidePlaybackScrubber:!1,hideRemainingTime:!1,hideSettings:!1,isAudioBlocked:!1,isCasting:!1,isCastingSupported:!1,isCommentAttachment:!1,isFBWasLive:!1,isInTahoe:!1,isLiveRewound:!1,isMuted:!1,isPlaying:!1,isSphericalVideo:!1,isWatchIconEligible:!1,onSidePaneToggle:c("emptyFunction"),onStartCast:c("emptyFunction"),onStopCast:c("emptyFunction"),playbackDuration:0,playbackPosition:0,showInlineCopyLinkOption:!1,showInlineVideoReportOption:!1,showPermalinkButton:!1,showPlaybackRateControl:!1,showPlayButtonForLive:!1,showSidePaneToggle:!1,showVideoSliderWarningTooltip:!1,showWNSNUX:!1,transparent:!1,useDarkTheme:!1,useLargerGradient:!1,useTwoRows:!1,volume:0};b=c("FluxContainer").create(a);g["default"]=b}),226); __d("VideoWatchAndScrollDrawer.react",["csx","cx","fbt","AsyncRequest","DOM","DOMContainer.react","FBLoadShimmer.react","ThisControllerNoLongerExists","react","vulture"],(function(a,b,c,d,e,f,g,h,i,j){var k,l=k||d("react");a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e0&&((c===p.NE||c===p.NW)&&(a.height-=d),a.top=e);d=a.left;e=b.getLeft();d=e-d;d>0&&((c===p.NW||c===p.SW)&&(a.width-=d),a.left=e);c=a.top+a.height;d=b.getTop()+b.h();e=c-d;e>0&&(a.height=d-a.top);c=a.left+a.width;e=b.getLeft()+b.w();d=c-e;d>0&&(a.width=e-a.left)};e.$16=function(a,b,c){a.widthn&&((c===p.NW||c===p.SW)&&(a.left+=a.width-n),a.width=n),a.height>n&&((c===p.NE||c===p.NW)&&(a.top+=a.height-n),a.height=n)};e.$18=function(a,b,c){var d=a.width/a.height;b=b.width/b.height;if(d>b){var e=a.height*b,f=a.height;ethis.state.channelVideoElements.length)return null;a=this.state.channelVideoElements[a];return!a?null:k.jsx("div",{className:"_2yq3"+(b==="left"?" _2yq4":"")+(b==="center"?" _2yq5":"")+(b==="right"?" _2yq6":""),children:k.jsx(c("DOMContainer.react"),{children:a})},a.id)};e.$26=function(){return c("shouldWNSRenderToRHC")()?[]:[k.jsx("div",{className:"_52ua",onMouseDown:this.$10.bind(this,p.NW)},p.NW),k.jsx("div",{className:"_52uc",onMouseDown:this.$10.bind(this,p.NE)},p.NE),k.jsx("div",{className:"_52ui",onMouseDown:this.$10.bind(this,p.SE)},p.SE),k.jsx("div",{className:"_52uj",onMouseDown:this.$10.bind(this,p.SW)},p.SW)]};e.getWidth=function(){return this.state.width};e.onLoadUpNext=function(a,b){this.props.onLoadUpNext(a,b),this.setState({hasDrawer:!0})};e.canPlayAnotherVideo=function(){var a=this.state.channelVideoElements;return this.state.videoIndexa.state.videoIndex+1||ewindow.scrollY||b==="beginPlayback"&&c&&c.reason==="autoplay_initiated")&&this.$69(a)}};b.$74=function(a){if(this.$37||a!==this.$16)return;this.$14&&this.$14.setState({endScreenShown:!0,playbackFinished:!0,timeUntilNext:this.$50?w:0})};b.$75=function(a){var b=this;return a.addListener("finishPlayback",function(){return b.$74(a)})};b.$69=function(a){var b=a.getVideoNode();if(!b.offsetParent)return;this.$19=a;this.$25=c("throttle")(this.$76.bind(this),100);window.addEventListener("resize",this.$25);this.$77(b);c("VideoPlayerExperiments").enableClickOnlyWatchAndScroll||this.$78()};b.$76=function(){this.$19&&(this.$77(this.$18||this.$19.getVideoNode()),this.$26&&this.$26())};b.$79=function(a){var b=this.$73(a),c=a.scrollWidth;a=a.scrollHeight;var d=s,e=r;cg?h-g+o:o,k=Math.max(k,o));g=j*f/e;c("VideoPlayerExperiments").rhcWNSEnabled&&(g=Math.min(g,y()));return{hasEnoughSpace:!!b||h>=a,height:g,left:k,top:i,width:j}};a.hasEnoughSpaceToEnter=function(a){if(!x||!a||!a.getVideoNode())return!1;a=a.getVideoNode();var b=1,c=parseFloat(a.getAttribute("data-original-aspect-ratio"));a=a.parentElement;(!c||b===0)&&a&&(c=a.scrollWidth,b=a.scrollHeight);a=s;ca};b.$77=function(a){this.$22=this.$73(a);this.$27=a.scrollWidth;this.$28=a.scrollHeight;var b=Math.max(this.$27,this.$28);if(b.8;else return b-athis.$21||window.scrollY0?this.$88(this.$36):a);this.$49?this.$49.add(a.getVideoID()):this.$49=new Set([a.getVideoID()]);this.$14&&this.$35.length>this.$36&&this.$88(this.$36+1).preload();this.$15=this.$16.getRootNode();g=!this.$1&&!((g=this.$52)!=null&&g.disableAlwaysStartMuted)||!this.$16.isMuted();var j=!this.$1||this.$16.isState("playing"),k=this.$1&&this.$16.isState("finished");if(!this.$1||f){(!e||i)&&(i&&(this.$46=this.$59(this.$15)),this.$53(this.$15));if(this.$9){this.$8=this.$9;if(this.$8.videoRootNode){this.$18=this.$89(this.$8.dimensions,this.$17.getVideoNode());c("DOM").appendContent(this.$8.videoRootNode,this.$18);e=c("DOM").scry(this.$8.videoRootNode,"._344x");i=e[0];i&&c("DOM").remove(i)}}else this.$8={videoRootNode:this.$15.parentNode,dimensions:d("DOMDimensions").getElementDimensions(this.$15),source:this.$16.getSource()},this.$18=this.$89(this.$8.dimensions,this.$16.getVideoNode()),c("DOM").insertAfter(this.$15,this.$18);e=null;this.$9&&(e=this.$9.videoRootNode);!e&&this.$15&&(e=this.$15.parentNode);e&&(this.$13=c("EventListener").listen(e,"click",function(){h.$57(),a.play("user_initiated"),c("setTimeoutAcrossTransitions")(function(){h.$68(a,"beginPlayback",{reason:"user_initiated"})},u)}));this.$16.pause("user_initiated");this.$16.isPlayerVersion("silvercity")&&this.$16.detachRootNode();i=this.$7?this.$7.width:this.$6;e=this.$7?this.$7.height:this.$5;this.$16.removeOffsetStylings();this.$16.setDimensions(i,e);this.$4=!0;f&&this.$90();this.$14=this.$91();!this.$1&&c("shouldWNSRenderToRHC")()&&c("Arbiter").inform("VideoWatchAndScrollController/init");k&&this.$74(this.$16)}else this.$16.pause("user_initiated"),this.$65();j&&this.$16.play(b);if(g){this.$16.unmute();if(this.$16.getVolume()===0){i=c("VideoPlayerVolumeSettings").getLastVolumeBeforeMute()||1;this.$16.setVolume(i);this.$16.emit("unmuteVideo")}}this.$16.updateSource("watch_scroll");e=this.$33;(!this.$1||f)&&e&&(e.abandonRequest(),this.$9||e.reset(a.getVideoID(),a.getVideoChannelID()),this.$92(),this.$61(a),this.$62(a));this.$1=!0;c("shouldWNSRenderToRHC")()&&c("Arbiter").inform("VideoWatchAndScrollController/start")};b.$61=function(b){b.hasOption("WatchAndScroll","isActive")||b.registerOption("WatchAndScroll","isActive",a.isActive)};b.$62=function(a){var b=this;this.$31.addSubscriptions(this.$75(a),a.addListener("VideoChannelController/enterChannel",function(){b.$31.release()}),a.addListener("WatchAndScroll/close",function(){b.$57()}))};b.$93=function(){if(!this.$14)return;this.$14.setState({endScreenShown:!1});this.$16&&this.$16.play("user_initiated")};b.$92=function(){var a=this;if(!this.$47)return;this.$33.fetchStories(!0,function(b,d){var e=a.$14;if(!b||!b.length||!e)return;b=e.getChannelVideoElements().concat(b);e.setState({channelVideoElements:b},function(){c("setTimeoutAcrossTransitions")(function(){a.$88(a.$36+1).preload()})});a.$38=a.$38.concat(d)})};b.$88=function(a){var b=this.$14?this.$14.getChannelVideoElements():[],c=[this.$17].concat(this.$35),d=null;c.forEach(function(c){b[a].contains(c.getRootNode())&&(d=c)});d||j(0,3965);return d};b.$94=function(){if(x&&x.$50)for(var a=0;ar&&(e.height=r,e.width=e.height*d);this.$16.removeOffsetStylings();this.$16.setDimensions(e.width,e.height);this.$53(b);this.$14&&this.$14.setState({playbackFinished:!1,videoIndex:this.$36,width:e.width,height:e.height},function(){c("shouldWNSRenderToRHC")()&&c("Arbiter").inform("VideoWatchAndScrollController/resize")});this.$46=e;this.$16.play("autoplay_initiated");a&&this.$16.mute();this.$35.length<=this.$36?this.$92():this.$88(this.$36+1).preload()};b.$95=function(){var a=o;this.$12&&(a+=this.$12.scrollHeight);return Math.max(a,q)};b.$53=function(a){if(this.$46){this.$7={height:this.$46.height,left:this.$46.left,top:this.$46.top,width:this.$46.width};return}if(a){var b=a.scrollWidth,c=a.scrollHeight;a=this.$79(a);c=a*c/b;this.$7.height=c;this.$7.width=a}else this.$7={height:this.$5,left:o,top:this.$95(),width:this.$6}};b.$89=function(a,b){var d=c("DOM").create("canvas",{className:"_57n6"});d.height=a.height;d.width=a.width;if(d.getContext&&d.getContext("2d"))if(b.scrollHeight===0){a=c("DOM").scry(b.parentNode,"._3t5i");a=a[0];if(a){var e=d.getContext("2d");e.drawImage(a,0,0)}}else if(b instanceof window.HTMLVideoElement){e=new(c("VideoFrameBuffer"))(d,b);e.updateFrameBuffer()}a=c("DOM").create("div");a.appendChild(d);b=c("DOM").create("i",{className:"_1jto _bsl _3htz"});a.appendChild(b);return a};b.$57=function(){this.$19&&this.$55();this.$16.pause("user_initiated");var a=this.$94();a&&a.pause("user_initiated");x&&(x.$50=null);this.$84()};b.$96=function(){this.$16.emit("WatchAndScroll/collapse")};b.$97=function(){var a=this.$89(this.$7,this.$16.getVideoNode(),!0);this.$14&&this.$14.setState({fadeOut:!0,fadeOutPlaceholder:a});this.$98(this.$17,this.$8);this.$18&&(c("DOM").remove(this.$18),this.$18=null);this.$13&&(this.$13.remove(),this.$13=null)};b.$98=function(a,b,e){var f;a.pause("user_initiated");a.isPlayerVersion("silvercity")&&a.detachRootNode();e&&d("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(e);b.dimensions&&b.dimensions.width&&b.dimensions.height&&(a.addOffsetStylings(),a.setDimensions(b.dimensions.width,b.dimensions.height));b.videoRootNode&&c("DOM").appendContent(b.videoRootNode,a.getRootNode());a.emit("WatchAndScroll/positionUpdated");a.updateSource(b.source||"inline");e=this.$73(a.getVideoNode());b=e.top;e=c("getViewportDimensions")().height;!((f=this.$52)!=null&&f.disableMuteOnExit)&&a.getSource()!=="permalink"&&a.mute();bwindow.scrollY+e||this.$51===!1?(a.pause("autoplay_initiated"),a.emit("resumeAutoplay")):a.play("user_initiated")};b.$90=function(){var a=this;this.$4||j(0,3966);this.$40||j(0,3967);this.$40.setState({fadeOut:!0});this.$45=c("setTimeoutAcrossTransitions")(function(){a.$41||j(0,3968),a.$42||j(0,3969),a.$98(a.$41,a.$43,a.$42),a.$44&&(c("DOM").remove(a.$44),a.$44=null),a.$45=null},u)};b.$56=function(){var a=this;this.$4||j(0,3966);this.$14||j(0,3970);!this.$23&&c("shouldWNSRenderToRHC")()&&c("Arbiter").inform("VideoWatchAndScrollController/exit");this.$35.forEach(function(a){return a.abortLoading()});this.$97();this.$45=c("setTimeoutAcrossTransitions")(function(){d("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(a.$85()),a.$86()},u)};b.$86=function(){this.$4||j(0,3966),this.$33&&this.$33.abandonRequest(),this.$36=0,this.$1=!1,this.$31.release(),this.$31=new(c("SubscriptionsHandler"))(),this.$8={},this.$16=null,this.$17=null,this.$4=!1,this.$35=[],this.$38=[],this.$14=null,c("clearTimeout")(this.$45),this.$45=null,this.$41&&this.$42&&this.$43&&this.$98(this.$41,this.$43,this.$42),this.$41=null,this.$43={},this.$44&&(c("DOM").remove(this.$44),this.$44=null),c("VideoAutoplayControllerX").setShouldAutoplay(!0),this.$2=null,this.$23&&(this.$46=this.$59(this.$23.getVideoNode()),this.$67(),this.$63(this.$23,"user_initiated"),this.$23=null),this.$29=!1,this.$46=null};b.$91=function(){var a=this;c("vulture")("5JMibEZjzxbD4RM0DtgE93Vyris=");return d("ReactDOM_DEPRECATED").render_DEPRECATED(l.jsx(c("VideoWatchAndScrollContainer.react"),{isDrawerEnabled:c("VideoPlayerExperiments").rhcWNSDrawerEnabled&&c("shouldWNSRenderToRHC")()&&c("VideoPlayerExperiments").rhcWNSExpandToTahoe,isLiveVideo:function(){return a.$16.isLiveVideo()},initialPosition:this.$7,initialVideoElement:this.$15,onChannelNavigation:this.$99.bind(this),onClick:this.$100.bind(this),onClose:this.$57.bind(this),onCollapse:this.$96.bind(this),onDrop:this.$101.bind(this),onGrab:this.$102.bind(this),onInitialPositionUpdate:this.$103.bind(this),onLoadUpNext:this.registerUpNextUnit.bind(this),onPlayNext:this.$104.bind(this),onReplay:this.$93.bind(this),viewedVideos:Array.from(this.$49),videoID:this.$16.getVideoID()}),this.$85())};b.$84=function(){this.$17&&this.$17.emit("exitWatchAndScroll");var a=this.$94();a&&a.emit("exitWatchAndScroll")};b.$99=function(a){if(a>0&&this.$35.length<=this.$36){c("shouldWNSRenderToRHC")()||this.$57();return}this.$36+=a;this.$65()};b.$104=function(){var a=this.$94();a&&(this.$50=null,a.emit("crossfadeWatchAndScroll"),this.$51?a.play("autoplay_initiated"):(a.preload(),a.emit("showOverlay")))};b.$102=function(){this.$19&&this.$55();var a=this.$16.getOption("VideoWithLiveBroadcast","isLive");if(a)return;this.$24=this.$16.isState("playing");this.$16.pause("user_initiated")};b.$101=function(){var a=this.$16.getOption("VideoWithLiveBroadcast","isLive");if(a)return;this.$24&&this.$16.play("user_initiated");this.$24=null};b.$100=function(){var a=this.$16.getOption("VideoWithLiveBroadcast","isLive");if(this.$19||a)return;this.$16.isState("playing")?this.$16.pause("user_initiated"):(this.$16.isState("paused")||this.$16.isState("finished")||this.$16.isState("ready"))&&this.$16.play("user_initiated")};b.$87=function(a){var b=this;if(this.$16===a)return;c("VideoPlayerExperiments").rhcWNSEnabled&&a.addListener("WatchAndScroll/collapse",function(){if(a!=b.$16){a.removeCurrentListener();return}if(!c("shouldWNSRenderToRHC")())return;c("Arbiter").inform("VideoWatchAndScrollController/collapse")});this.$16=a};b.pauseActiveVideo=function(a){if(!this.$16)return;this.$16.pause(a)};a.pauseActiveVideo=function(a){a===void 0&&(a="user_initiated");if(!x)return;x.pauseActiveVideo(a)};b.playActiveVideo=function(a){if(!this.$16)return;this.$16.play(a)};b.registerUpNextUnit=function(a,b){var d=c("DOM").find(a,"._3iqr");if(!x||!d)return;x.$50=a;x.$51=b;c("EventListener").listen(d,"click",function(a){if(!x)return;var b=x.$94();b&&(a.preventDefault(),a.stopPropagation(),x.$50=null,b.emit("crossfadeWatchAndScroll"),b.play("user_initiated"))})};a.playActiveVideo=function(a){a===void 0&&(a="user_initiated");if(!x)return;x.playActiveVideo(a)};b.$103=function(a){this.$7=a,this.$14&&!this.$14.getFadeOutStatus()&&(this.$16.removeOffsetStylings(),this.$16.setDimensions(a.width,a.height),this.$16.emit("WatchAndScroll/positionUpdated"))};b.$105=function(){var a=c("DOM").create("div");c("shouldWNSRenderToRHC")()?c("ifRequired")("RHCVideoWNSController",function(b){return b.mount(a)}):c("DOM").appendContent(document.body,a);return a};b.$85=function(){this.$2||(this.$2=this.$105());return this.$2};return a}();g["default"]=a}),98); __d("XBasicFBNuxGenShouldShowController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/megaphone/should_show_fbnux/",{nux_id:{type:"Int",required:!0},should_log_view:{type:"Bool",defaultValue:!0},dependencies:{type:"IntVector"}})}),null); __d("VideoControls",["csx","cx","Arbiter","AsyncRequest","Bootloader","CSS","DeferredComponent.react","EventListener","FullScreen","LiveRewindUtils","LiveVideoPlayerActions","Parent","PlaybackSpeedExperiments","ReactDOM","SubscriptionsHandler","VideoPlayerExperiments","VideoPlayerUIComponentDrawer","VideoWatchAndScrollController","XBasicFBNuxGenShouldShowController","cancelAnimationFrame","containsNode","destroyOnUnload","getActiveElement","logVideosClickTracking","react","requestAnimationFrame","shouldWNSRenderToRHC","throttle"],(function(a,b,c,d,e,f,g,h,i){var j,k=j||d("react"),l=new Set(["embedded","embedded_video","embedded_video_preview","embedded_page_plugin","embedded_video_from_ufi"]),m=200,n=4936,o=36,p=5e3;a=function(){function a(a,b,e){var f=this;this.$16={current:null};this.$133=function(){f.$11=!1,f.scheduleRenderReactComponent()};this.$15=a;this.$16.current=this.$15;this.$90=b;this.$124=d("ReactDOM").createRoot(b);this.$10=0;this.$83=0;this.$82=0;this.$29=0;this.$123=!1;this.$91=!1;this.$49=e.hideOnEvents.autoplay;this.$50=e.hideOnEvents.finish;this.$43=e.hideOnEvents.pause;this.$104=e.unhideOnHover;this.$44=e.hidePlaybackControl;this.$45=e.isWatchIconEligible;this.$46=e.hidePlaybackScrubber;this.$105=e.showPlaybackRateControl;this.$109=e.showVideoSliderWarningTooltip;this.$47=e.hideRemainingTime;this.$48=e.hideSettings;this.$120=e.useTwoRows;this.$56=e.isCommentAttachment;this.$84=e.pointsOfInterestConfig||{};this.$18=e.displayElapsedTime||!1;this.$19=e.showControlsOnFullScreenOnly||!1;this.$20=e.displayMilliseconds||!1;this.$21=e.displayDurationLimit;this.$22=e.displayTimeOffset;this.$1=e.adBreaks;this.$2=e.adBreaksDisableReasons;this.$108=e.showSpatialAudioNUX;this.$86=(b=e.pollTimestamps)!=null?b:[];this.$69=!1;this.$101=e.shouldShowWNSNUX;this.$11=!1;this.$38=!1;this.$51=e.insertedAdBreaks;this.$52=e.isAdBreakDisabled;this.$53=e.isAdBreakInsertionWithoutGapRule;this.$102=(b=e.showEligibleStarsCueTimeSegments)!=null?b:!1;this.$103=e.selectedStarsCueTimestamp;this.$63=e.isLiveRewindEnabled||this.$15.isFBWasLive();this.$64=this.$15.isFBWasLive();this.$76=null;this.$106=e.showPlayButtonForLive;this.$121=e.videoClipInfo;this.$97=!!e.videoClipInfo;this.$13=null;b=a.isHtml5Player();a=a.getPlayerSuborigin();this.$40=e.showButtons.watchandscroll&&b&&a!=="topic_live";this.$3=e.showButtons.casting;this.$4=e.showButtons.fullscreen&&!!c("FullScreen").isSupported();this.$5=e.showButtons.audioButton;this.$80=e.permalinkURL;this.$98=e.shouldShowInlineCopyLinkOption;this.$99=e.shouldShowInlineVideoReportOption;this.$100=e.shouldShowPermalinkButton;this.$61=e.isLive;this.$62=e.isGamingVideo;this.$70=e.isSphericalVideo;this.$30=e.forceVisible||!1;this.$31=e.forceVisibleOnMount||!1;this.$42=e.hideGradient||!1;this.$118=e.useDarkTheme||!1;this.$54=!1;this.$41=!1;this.$67=!1;this.$68=!1;this.$107=e.showQualitySelector;this.$87=e.qualitySelectorMinStreams;this.$74=this.liveRewindToBeginning.bind(this);this.$72=this.liveRewindSeekBack.bind(this);this.$73=this.liveRewindSeekForward.bind(this);this.$75=this.liveRewindToLive.bind(this);this.$26=this.enterWatchAndScroll.bind(this);this.$25=this.enterTahoe.bind(this);this.$81=this.play.bind(this);this.$79=this.pause.bind(this);this.$92=this.scrubBegin.bind(this);this.$93=this.scrubEnd.bind(this);this.$110=this.startCasting.bind(this);this.$111=this.stopCasting.bind(this);this.$113=this.toggleFullscreen.bind(this);this.$114=this.toggleHD.bind(this);this.$115=this.toggleHLS.bind(this);this.$116=this.toggleMuted.bind(this);this.$117=this.toggleCaptions.bind(this);this.$12=this.changeVolume.bind(this);this.$96=this.setVideoPlaybackRate.bind(this);this.$95=this.setPreferredVideoQuality.bind(this);this.$24=this.$15.registerDrawer(c("VideoPlayerUIComponentDrawer").priorities.EmbeddedControls,o);this.$78=e.needsInitialVideoInfoUpdate;this.$17=this.$15.getSource();this.$33=e.gamesVideoClipButtonEnabled;this.$34=!!e.gamesVideoCreatorClippingGK&&!l.has(this.$17);this.$35=e.gamesDefaultClipLengthInSec;this.$7=e.annotatedMomentsOfInterest||{};this.$57=e.isEmbeddedPlayerRedesignEnabled;this.$119=e.useLargerGradient||!1;c("VideoPlayerExperiments").persistentWNSEnabled||c("destroyOnUnload")(function(){var a;(a=f.$124)==null||a.unmount()});b=this.$15.getRootNode();c("EventListener").listen(this.$90,"focusin",function(){f.$28=!0,f.scheduleRenderReactComponent()});c("EventListener").listen(this.$90,"focusout",function(){c("containsNode")(f.$90,c("getActiveElement")())||(f.$28=!1,f.scheduleRenderReactComponent())});c("EventListener").listen(b,"click",function(a){if(f.$28&&a.detail){a=c("getActiveElement")();a&&a.blur()}});c("EventListener").listen(b,"mouseleave",function(){f.$77=!1,f.scheduleRenderReactComponent()});c("EventListener").listen(b,"mouseenter",function(){f.$77=!0,f.scheduleRenderReactComponent()});this.$15.registerOption("VideoControls","acquireForceHideLock",function(){f.$29++;return{release:function(){f.$29--,f.scheduleRenderReactComponent()}}});this.$15.registerOption("VideoControls","hideOnFinish",function(){return f.$50},function(a){f.$50=a});this.$15.registerOption("VideoControls","hideOnPause",function(){return f.$43},function(a){f.$43=a});this.$15.registerOption("VideoControls","unhideOnHover",function(){return f.$104},function(a){f.$104=a});this.$15.registerOption("VideoControls","hidePlaybackControl",function(){return f.$44},function(a){f.$44=a,f.scheduleRenderReactComponent()});this.$15.registerOption("VideoControls","available",function(){return!0});this.$15.registerOption("VideoControls","areControlsVisible",this.areControlsVisible.bind(this));["mousemove","mousedown","keydown"].forEach(function(a){c("EventListener").listen(f.$15.getRootNode(),a,c("throttle")(f.flashControls.bind(f),200))});this.$112=new(c("SubscriptionsHandler"))();this.scheduleRenderReactComponent();a=["changeVolume","loadedSubtitles","captionsAvailabilityChanged","muteVideo","pausePlayback","stateChange","toggleFullscreen","toggleSubtitles","updateMetadata","unmuteVideo","qualityChange","casting/receiverStateChange","casting/supportStateChange","casting/castingStateChange","casting/playStateChange"];a.forEach(function(a){return f.$112.addSubscriptions(f.$15.addListener(a,function(){return f.scheduleRenderReactComponentWithVideoInfoUpdate()}))});this.$112.addSubscriptions(this.$15.addListener("pauseRequested",function(a){f.$125(a)}),this.$15.addListener("playRequested",function(a){f.$126(a)}),this.$15.addListener("beginPlayback",function(){return f.$127()}),this.$15.addListener("updateStatus",function(a){if(f.$63){var b=f.$15.getSeekableRanges();if(f.$64&&d("PlaybackSpeedExperiments").enableWwwPlaybackSpeedControl()){var c,e;c=(c=f.$15.getCurrentTimePosition())!=null?c:0;e=b!=null?(e=b.end(b.length()-1))!=null?e:0:0;c>0&&e>0&&c>=e&&f.liveRewindToLive()}b&&(f.$71=d("LiveRewindUtils").getRelativePosition(a.position,b))}f.$83=a.position;f.$22&&(f.$83-=f.$22);f.scheduleRenderReactComponent()}),this.$15.addListener("casting/updateStatus",function(a){if(f.$63){var b=f.$15.getSeekableRanges();b&&(f.$71=d("LiveRewindUtils").getRelativePosition(a.position,b))}f.$83=a.position;f.scheduleRenderReactComponent()}),this.$15.addListener("seekRangeChanged",function(a){if(f.$63){a=f.$15.getSeekableRanges();a&&(f.$82=d("LiveRewindUtils").getTotalDuration(a))}}),this.$15.addListener("updateBuffer",function(a){f.$10=a.duration+a.offset,f.scheduleRenderReactComponent()}),this.$15.addListener("optionsChange",function(a){f.$128()}),this.$15.addListener("resumeAutoplay",function(a){f.$129(),f.scheduleRenderReactComponentWithVideoInfoUpdate()}),this.$15.addListener("turnOffAutoplay",function(a){f.$55=!1}),this.$15.addListener("LivePlayer/isRewoundChanged",function(a){a=f.$15.getOption("LivePlayer","isRewound");f.$64!==a&&(f.$64=a,f.scheduleRenderReactComponent())}),this.$15.addListener("blockAudio",function(a){a||(f.$54=!0)}),this.$15.addListener("unblockAudio",function(a){a||(f.$54=!1)}));this.$101&&this.$112.addSubscriptions(this.$15.addListener("VideoWithStallRecovery/bufferingStateOn",function(){f.$38||f.$130(n)}),this.$15.addListener("VideoWithStallRecovery/bufferingStateOff",function(){f.$11=!1}));this.$112.addSubscriptions(this.$15.addListener("finishPlayback",function(){f.scheduleRenderReactComponent(!0)}));this.$128()}var b=a.prototype;b.$131=function(){this.$94=this.$15.getOption("VideoScrubberPreviewComponent","scrubberPreviewSprites"),this.$37=this.$15.getOption("VideoScrubberPreviewComponent","hasPreviewThumbnails"),this.$85=this.$15.getOption("VideoScrubberPreviewComponent","previewThumbnailInformation")};b.$129=function(){this.$55=this.$15.getOption("FeedAutoplay","isAutoplaying")};b.$128=function(){this.$129(),this.$131()};b.$125=function(a){var b=this;this.scheduleRenderReactComponentWithVideoInfoUpdate();this.$61&&this.$63&&a==="user_initiated"&&(!this.$64&&this.$76===null&&(this.$76=window.setTimeout(function(){b.$76=null,d("LiveVideoPlayerActions").setIsRewound(b.$15,!0)},m)))};b.$126=function(a){this.$61&&this.$63&&a==="user_initiated"&&this.$76!==null&&(window.clearTimeout(this.$76),this.$76=null)};b.$127=function(){this.flashControls(),this.$132(),this.$66=!0,this.scheduleRenderReactComponentWithVideoInfoUpdate()};b.$130=function(a){var b=this;a=c("XBasicFBNuxGenShouldShowController").getURIBuilder().setInt("nux_id",a).getURI();new(c("AsyncRequest"))().setURI(a).setMethod("GET").setReadOnly(!0).setHandler(function(a){a=a.getPayload();b.$11=a.should_show_nux}).send()};b.updateConfig_DEPRECATED=function(a,b){this.$80=a.permalinkURL||null,this.$3=a.showButtons?a.showButtons.casting:!1,this.$61=!!a.isLive,this.$1=a.adBreaks||null,this.$119=a.useLargerGradient||!1,this.$105=a.showPlaybackRateControl||!1,this.scheduleRenderReactComponent()};b.updateAdBreaksConfig=function(a){this.$51=a.insertedAdBreaks,this.$52=a.isAdBreakDisabled,this.$53=a.isAdBreakInsertionWithoutGapRule,this.$30=!a.isPreviewingAdBreak,this.scheduleRenderReactComponent()};b.updateStarsCueConfig=function(a){this.$103=a.selectedStarsCueTimestamp,this.scheduleRenderReactComponent()};b.updateTwoRowsConfig=function(a){this.$120=a.useTwoRows,this.$56=a.isCommentAttachment,this.scheduleRenderReactComponent()};b.flashControls=function(){var a=this;this.$88||(this.$88=!0,this.scheduleRenderReactComponent());window.clearTimeout(this.$27);this.$27=window.setTimeout(function(){a.$27=null,a.$88=!1,a.scheduleRenderReactComponent()},3e3)};b.$132=function(){var a=this;this.$31&&(window.clearTimeout(this.$32),this.$32=window.setTimeout(function(){a.$32=null,a.$31=!1,a.scheduleRenderReactComponent()},p))};b.areControlsVisible=function(){var a=this;if(!this.areControlsEnabled())return!1;if(this.$30||this.$11||this.$67||this.$68||this.$31)return!0;if(this.$15.isState("playing")){if(this.$97){this.$13||(this.$13=window.setTimeout(function(){a.$97=!1},5e3));return!0}else if(this.$49&&this.$55)return!1;return this.$28||this.$77&&this.$88}else if(this.$15.isState("finished")){var b=this.$15.getSource()==="tahoe";return this.$15.isFullscreen()||b||!this.$50}else if(this.$15.isState("paused"))return this.$15.isFullscreen()||!this.$43||this.$104&&(this.$28||this.$77&&this.$88);return!1};b.areControlsEnabled=function(){var a=this.$15.getSource()==="tahoe";return this.$29>0||this.$15.isState("loading")||this.$15.isState("fallback")||this.$15.getOption("SottoPaywall","enable")||this.$15.isState("finished")&&this.$50&&!this.$15.isFullscreen()&&!a?!1:!0};b.scheduleRenderReactComponentWithVideoInfoUpdate=function(){this.$78=!0,this.scheduleRenderReactComponent(!0)};b.shouldRenderComponent=function(){if(this.$15.isState("loading")||this.$15.isState("fallback"))return!1;if(this.areControlsVisible()){this.$41=!1;return!0}if(!this.$41){this.$41=!0;return!0}return!1};b.scheduleRenderReactComponent=function(a){a===void 0&&(a=!1);if(!a&&!this.shouldRenderComponent())return;c("cancelAnimationFrame")(this.$89);this.$89=c("requestAnimationFrame")(this.renderReactComponent.bind(this))};b.renderReactComponent=function(){var a=this;if(c("VideoPlayerExperiments").delayVideoControlRenderForApiReady&&this.$15.getState()==="loading"&&!this.$91){this.$91=!0;this.$15.runOnApiReady(function(){a.scheduleRenderReactComponent()});return}this.$78&&this.$134();var b=this.areControlsVisible();this.$123!==b&&(this.$15.emit("VideoControls/visibilityUpdate",{areControlsVisible:b}),b?this.$24.reserve():this.$24.release(),this.$15.isState("destroyed")||d("CSS").conditionClass(this.$15.getRootNode(),"_302m",!b));this.$123=b;var f=this.$15.getAvailableVideoQualities(),g=this.$15.getPreferredVideoQuality(),h=this.$15.getSelectedVideoQuality(),i=this.$15.canAutoSelectVideoQuality(),j=this.$15.getStreamingFormat(),m=this.$69;this.$69=c("VideoPlayerExperiments").slidingWNSv3&&this.$40&&c("VideoWatchAndScrollController").isSlidingEnabled(this.$15);m!==this.$69&&this.$15.logEvent(this.$69?"watch_and_scroll_icon_highlighted":"watch_and_scroll_icon_unhighlighted");m=this.$15.getSource()==="tahoe";var n=this.$15.getSource()==="watch_scroll",o=this.$15.isFBIsLiveTemplated()||this.$15.isFBWasLive();o=this.$63&&o&&(this.$15.isFBWasLive()||this.$15.getState()!=="finished");var p=k.jsx(c("DeferredComponent.react"),{deferredPlaceholder:k.jsx("span",{}),deferredComponent:function(a){return e(["VideoControls.react"],a)},allowCasting:this.$3,allowFullscreen:this.$4,allowAudioButton:this.$5,annotatedMomentsOfInterest:this.$7,areCaptionsActive:this.$8,areCaptionsAutogenerated:this.$9,areHLSActive:this.$6,bufferedPosition:this.$10,finishedPlaying:this.$15.isState("finished"),hasFoundReceiver:this.hasFoundReceiver(),hasHD:this.$36,hasCaptions:this.$39,hasWatchAndScroll:this.$40&&!this.getIsInChannel(),hidden:!this.areControlsEnabled(),hideGradient:this.$42,isAudioBlocked:this.$54,isCasting:this.isCasting(),isCastingSupported:this.isCastingSupported(),isCommentAttachment:this.$56,isEmbedded:l.has(this.$17),isEmbeddedPlayerRedesignEnabled:this.$57,isFullscreen:this.$58,isHD:this.$59,isInline:this.$60,isInTahoe:m,isInWatchAndScroll:n,isLive:this.$61,isLiveRewindEnabled:o,isLiveRewound:this.$64,isFBWasLive:this.$15.isFBWasLive(),isSphericalVideo:this.$70,isMuted:this.$65,isPlaying:this.$66,isSidePaneOpen:this.getIsInChannel()&&!!d("Parent").bySelector(this.$90,"._57bj"),isSlidingWNSEligible:this.$69,interestLevels:null,liveRelativePlaybackPosition:this.$71,drawer:this.$24,onActionsClick:function(){a.$68=!a.$68},onAnnotatedMomentOfInterestSelect:function(b){a.$15.seek(b)},onEnterWatchAndScroll:this.$26,onEnterTahoe:this.$25,doesFullscreenEnterTahoe:this.$23,onLiveRewindToBeginning:this.$74,onLiveRewindSeekBack:this.$72,onLiveRewindSeekForward:this.$73,onLiveRewindToLive:this.$75,onWNSNUXClose:this.$133,onClipVideo:this.$14,onPause:this.$79,onPlay:this.$81,onScrubBegin:this.$92,onScrubEnd:this.$93,onSetVideoPlaybackRate:this.$96,onSettingsClick:function(){a.$67=!a.$67},onSidePaneToggle:function(){c("Arbiter").inform("VideoChannelView/sidePaneToggle",{})},onStartCast:this.$110,onStopCast:this.$111,onToggleFullscreen:this.$113,onToggleHD:this.$114,onToggleHLS:this.$115,onToggleMuted:this.$116,onToggleCaptions:this.$117,onVolumeChange:this.$12,permalinkURL:this.$80,showInlineCopyLinkOption:this.$98,showInlineVideoReportOption:this.$99,showPermalinkButton:this.$100,playbackDuration:this.$82,playbackPosition:this.$83,transparent:!b,hidePlaybackControl:this.$44,isWatchIconEligible:this.$45,hidePlaybackScrubber:this.$46,showPlaybackRateControl:this.$105,showPlayButtonForLive:this.$106,showVideoSliderWarningTooltip:this.$109,hideRemainingTime:this.$47,hideSettings:this.$48,useTwoRows:this.$120,volume:this.$122,scrubberPreviewSprites:this.$94,hasScrubberPreview:this.$37&&!n,previewThumbnailInformation:this.$85,availableQualities:f,selectedQuality:h,preferredQuality:g,canAutoSelectVideoQuality:i,onSelectQuality:this.$95,showQualitySelector:this.$107,qualitySelectorMinStreams:this.$87,streamingFormat:j,showSpatialAudioNUX:this.$108,onPointOfInterestSelect:this.$84.onPointOfInterestSelect,currentPointOfInterest:this.$84.currentPointOfInterest,pointsOfInterest:this.$84.pointsOfInterest,showPointOfInterestTimestamps:this.$84.showPointOfInterestTimestamps,displayElapsedTime:this.$18,showControlsOnFullScreenOnly:this.$19,displayMilliseconds:this.$20,adBreaks:this.$1,pollTimestamps:this.$86.filter(function(b){return b<=a.$82}),vpcID:this.$15.getVideoPlayerID(),adBreaksDisableReasons:this.$2,showSidePaneToggle:!1,showWNSNUX:this.$11&&this.areControlsEnabled()&&this.$101,insertedAdBreaks:this.$51,isAdBreakDisabled:this.$52,isAdBreakInsertionWithoutGapRule:this.$53,showEligibleStarsCueTimeSegments:this.$102,selectedStarsCueTimestamp:this.$103,useDarkTheme:this.$118,videoID:this.$15.getVideoID(),videoClipInfo:this.$121?this.$121:void 0,gamesVideoClipButtonEnabled:this.$33,gamesVideoCreatorClipping:this.$34,gamesDefaultClipLengthInSec:this.$35,useLargerGradient:this.$119});d("ReactDOM").flushSync(function(){var b;(b=a.$124)==null||b.render(p)});this.$11&&this.areControlsEnabled()&&this.$101&&(this.$38=!0)};b.$134=function(){var a=this.$15.getVideoInfo_DEPRECATED();if(a){this.$8=this.$15.areSubtitlesActive();this.$9=this.$15.areSubtitlesAutogenerated();this.$39=this.$15.hasSubtitles();this.$36=a.hasHD;this.$59=a.isHD;this.$65=a.isMuted;this.$66=a.isPlaying||this.isCastPlaying();if(this.$63){var b=this.$15.getSeekableRanges();b&&(this.$82=d("LiveRewindUtils").getTotalDuration(b))}else this.$21!=null?this.$82=Math.min(a.playbackDuration,this.$21):this.$82=a.playbackDuration;this.$122=a.volume;b=this.$15.getOption("CommercialBreakVideoAdOverlay","videoController");b?this.$58=b.isFullscreen():this.$58=this.$15.isFullscreen();b=this.$15.getPlayerOrigin();switch(this.$15.getSource()){case"inline":case"discover":case"continue_watching_recommendation":case"topic_live":case"entry_point":this.$60=!0;break;case"permalink":this.$60=b==="video_home";break;case"games_video_home_hero":this.$60=b==="games_video_hub";break;default:this.$60=!1;break}this.$61=a.isLiveStream;this.$6=a.areHLSActive;this.$78=!1;this.$23=this.$15.listeners("enterTahoe").length!==0}};b.toggleHD=function(){this.$15.toggleHD()};b.setPreferredVideoQuality=function(a){a?this.$15.setPreferredVideoQuality(a):this.$15.unsetPreferredVideoQuality()};b.toggleHLS=function(){this.$15.switchToStreamType("hls")};b.enterWatchAndScroll=function(){c("shouldWNSRenderToRHC")()?this.$15.emit("crossfadeWatchAndScroll"):this.$15.emit("enterWatchAndScroll")};b.enterTahoe=function(){var a=this;this.$15.getSource()==="watch_scroll"?(this.$15.logEvent("watch_and_scroll_channel_entered"),c("Bootloader").loadModules(["TahoeController","URI"],function(b,d){var e=new d(a.$15.getVideoURL());d=babelHelpers["extends"]({},d.getRequestURI().getQueryData(),{ref:"tahoe"});c("VideoWatchAndScrollController").onEnterTahoe();b.openFromVideoPlayer(a.$15,e.setQueryData(d),a.$15.getVideoChannelID(),"wns")},"VideoControls")):this.$15.emit("enterTahoe")};b.scrubBegin=function(){this.isCasting()||this.$15.pause("seek_initiated")};b.scrubEnd=function(a){if(this.$63){var b=this.$15.getSeekableRanges();if(b){var c=this.$71;this.$71=a;a=d("LiveRewindUtils").getAbsolutePosition(a,b);b=d("LiveRewindUtils").getLiveHeadTimestamp(b);b=b-a<1;d("LiveVideoPlayerActions").setIsRewound(this.$15,!b);d("LiveRewindUtils").logLiveRewindEvent("scrubber",this.$15,c,null,null,a)}}this.$22&&(a+=this.$22);this.$15.seek(a,"user_initiated");this.$83=a;b=this.$66||this.$15.isState("finished")&&!this.$50;!this.isCasting()&&b&&this.$15.play("seek_initiated")};b.toggleMuted=function(){this.$15.isMuted()?(c("logVideosClickTracking")(this.$15.getVideoNode()),this.$15.unmute()):this.$15.mute()};b.toggleFullscreen=function(){this.$15.isFullscreen()||c("logVideosClickTracking")(this.$15.getVideoNode()),this.$15.toggleFullscreen()};b.toggleCaptions=function(){this.$15.toggleSubtitles(),this.scheduleRenderReactComponent()};b.changeVolume=function(a){this.$15.setVolume(a)};b.liveRewindToBeginning=function(){d("LiveRewindUtils").goToBeginning(this.$15)};b.liveRewindSeekBack=function(){d("LiveRewindUtils").seekBack(this.$15)};b.liveRewindSeekForward=function(){d("LiveRewindUtils").seekForward(this.$15)};b.liveRewindToLive=function(){d("LiveRewindUtils").goToLive(this.$15)};b.play=function(){c("logVideosClickTracking")(this.$15.getVideoNode()),this.isCasting()?this.$15.setOption("casting","isPlaying",!0):this.$15.play("user_initiated"),this.$61&&this.$63&&d("LiveRewindUtils").logLiveRewindEvent("play",this.$15,this.$71,null,this.$71,null)};b.pause=function(){this.isCasting()?this.$15.setOption("casting","isPlaying",!1):this.$15.pause("user_initiated"),this.$61&&this.$63&&(d("LiveVideoPlayerActions").setIsRewound(this.$15,!0),d("LiveRewindUtils").logLiveRewindEvent("pause",this.$15,this.$71,null,this.$71,null))};b.setVideoPlaybackRate=function(a){this.$15.setPlaybackRate(a)};b.startCasting=function(){this.$15.setOption("casting","isCasting",!0)};b.stopCasting=function(){this.$15.setOption("casting","isCasting",!1)};b.isCastPlaying=function(){return this.$15.getOption("casting","isPlaying")};b.hasFoundReceiver=function(){return this.$15.getOption("casting","hasFoundReceiver")};b.isCasting=function(){return this.$15.getOption("casting","isCasting")};b.isCastingSupported=function(){return this.$15.getOption("casting","isSupported")};b.updatePointsOfInterestConfig=function(a){Object.assign(this.$84,a),this.scheduleRenderReactComponent()};b.updateDisplayElapsedTime=function(a){this.$18=a,this.scheduleRenderReactComponent()};b.updateDisplayTimeRangeConfig=function(a){this.$21=a.displayDurationLimit,this.$22=a.displayTimeOffset,this.scheduleRenderReactComponentWithVideoInfoUpdate()};b.getIsInChannel=function(){return this.$15.getIsInChannel()};b.$135=function(){var a=[this.$13,this.$27,this.$32,this.$76];a.forEach(function(a){return window.clearTimeout(a)});this.$13=null;this.$27=null;this.$32=null;this.$76=null};b.unregister=function(){c("cancelAnimationFrame")(this.$89),this.$112.release(),this.$16.current=null,this.$135()};return a}();g["default"]=a}),98); __d("VideoErrorOverlay",["SphericalVideoFallback","vulture"],(function(a,b,c,d,e,f,g){function h(a,b){"textContent"in a&&(a.textContent=b),a.innerText=b}function i(a){if("textContent"in a)return a.textContent;return!a.innerText?"":a.innerText}a=function(){function a(a,b,c,e,f){var g=this;this.$1=b;this.$2=c;this.$3=e;a.registerOption("VideoErrorOverlay","title",function(){return g.getTitle()},function(a){return g.setTitle(a)});a.registerOption("VideoErrorOverlay","message",function(){return g.getMessage()},function(a){return g.setMessage(a)});a.registerOption("VideoErrorOverlay","linkURL",function(){return g.getLinkURL()},function(a){return g.setLinkURL(a)});a.registerOption("VideoErrorOverlay","linkTitle",function(){return g.getLinkTitle()},function(a){return g.setLinkTitle(a)});a.registerOption("VideoErrorOverlay","available",function(){return!0});f&&d("SphericalVideoFallback").setup(a,f)}var b=a.prototype;b.getTitle=function(){return this.$1?i(this.$1):""};b.setTitle=function(a){this.$1&&h(this.$1,a)};b.getMessage=function(){c("vulture")("CDh8xvqV1KoXhyyB-uS2jWMi_jc=");return i(this.$2)};b.setMessage=function(a){h(this.$2,a)};b.getLinkURL=function(){return this.$3.href};b.setLinkURL=function(a){this.$3.href=a};b.getLinkTitle=function(){return i(this.$3)};b.setLinkTitle=function(a){h(this.$3,a)};return a}();g["default"]=a}),98); __d("VideoInstreamAdsConstantsJSModuleWrapper",["VideoInstreamAdsConstants"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("VideoInstreamAdsConstants")}),98); __d("VideoPlayButton",["CSS","EventListener","VideoDisplayTimePlayButton"],(function(a,b,c,d,e,f,g){a=function(){function a(a,b,e){this.$1=a;this.$2=b;e&&(this.$3=e.hiddenAfterFinish,this.$4=e.hiddenWhilePaused,this.$5=!!e.hiddenInFallback,this.$5=e.hiddenInFallback,this.$6=e.spherical);b=d("VideoDisplayTimePlayButton").getClicked(this.$2);d("VideoDisplayTimePlayButton").unregister(this.$2);a.addListener("beginPlayback",this.$7.bind(this));a.addListener("finishPlayback",this.$8.bind(this));a.addListener("pausePlayback",this.$9.bind(this));a.addListener("buffering",this.$10.bind(this));a.addListener("buffered",this.$11.bind(this));a.addListener("stateChange",this.$12.bind(this));a.addListener("playRequested",this.$13.bind(this));a.addListener("VideoChannelController/exitChannel",this.$14.bind(this));a.addListener("clickVideo",this.$15.bind(this));a.addListener("TahoeController/enterTahoe",this.$16.bind(this));c("EventListener").listen(this.$2,"click",this.$17.bind(this));e&&e.hiddenWhileJSLoading&&!e.hiddenWhileVideoLoading&&d("CSS").show(this.$2);b&&this.$17()}var b=a.prototype;b.$12=function(){this.$1.isState("fallback")&&(this.$5||this.$1.getIsInChannel()?d("CSS").hide(this.$2):d("CSS").show(this.$2))};b.$7=function(){d("CSS").hide(this.$2)};b.$9=function(){if(this.$4||this.$1.getSource()==="inline")return;d("CSS").show(this.$2)};b.$13=function(a){if(this.$1.isState("fallback")||a==="autoplay_initiated")return;d("CSS").hide(this.$2)};b.$14=function(){(this.$1.isState("paused")&&(!this.$4||this.$6)||this.$1.isState("finished")&&!this.$3)&&d("CSS").show(this.$2)};b.$16=function(){this.$1.isState("playing")||d("CSS").show(this.$2)};b.$8=function(){var a=this.$1.getOption("Looping","isLooping");this.$3||this.$1.getIsInChannel()||this.$1.getSource()==="tahoe"||a?d("CSS").hide(this.$2):d("CSS").show(this.$2)};b.$10=function(){d("CSS").hide(this.$2)};b.$11=function(){d("CSS").hide(this.$2)};b.$17=function(){this.$1.clickVideo()};b.$15=function(){if(this.$1.isState("fallback"))return;d("CSS").hide(this.$2)};return a}();g["default"]=a}),98); __d("VideoSpinner",["cx","CSS","EventListener","ShakaConstants","setTimeout"],(function(a,b,c,d,e,f,g,h){a=function(){function a(a,b){this.$2=b,this.$1=a,this.$3=!1,a.addListener("beginPlayback",this.$5.bind(this)),a.addListener("finishPlayback",this.$6.bind(this)),a.addListener("pausePlayback",this.$7.bind(this)),a.addListener("playRequested",this.$8.bind(this)),a.addListener("buffering",this.$9.bind(this)),a.addListener("buffered",this.$10.bind(this)),a.addListener("networkInterrupted",this.$11.bind(this)),a.addListener("networkResumed",this.$12.bind(this)),a.addListener("stateChange",this.$13.bind(this)),a.addListener("clickVideo",this.$14.bind(this)),a.addListener("VideoSphericalOverlay/animationUpdate",this.$15.bind(this)),c("EventListener").listen(this.$2,"click",this.$16.bind(this))}var b=a.prototype;b.$15=function(a,b){a?d("CSS").addClass(this.$2,"_1st9"):d("CSS").removeClass(this.$2,"_1st9")};b.$11=function(){this.$4=!0};b.$12=function(){this.$4=!1};b.$9=function(){var a=this,b=c("ShakaConstants").numbers.buffering_spinner_delay_ms;this.$3=!0;b===0?d("CSS").show(this.$2):c("setTimeout")(function(){a.$3&&d("CSS").show(a.$2)},b)};b.$10=function(){d("CSS").hide(this.$2),this.$3=!1};b.$5=function(){this.$3?d("CSS").show(this.$2):d("CSS").hide(this.$2)};b.$7=function(){d("CSS").hide(this.$2)};b.$8=function(){d("CSS").hide(this.$2)};b.$6=function(){d("CSS").hide(this.$2)};b.$13=function(){this.$1.isState("fallback")&&d("CSS").hide(this.$2)};b.$14=function(){if(this.$1.isState("fallback"))return;(this.$3||this.$1.isState("ready")||this.$1.isState("loading"))&&d("CSS").show(this.$2)};b.$16=function(){this.$1.clickVideo()};return a}();g["default"]=a}),98); __d("VideoWatchAndScrollVariablesJSModuleWrapper",["VideoWatchAndScrollVariables"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("VideoWatchAndScrollVariables")}),98); __d("VideoWithClickPlayPause",["logVideosClickTracking"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){this.$1=a,this.$2=this.$1.getVideoNode(),this.$1.addListener("clickVideo",this.$3.bind(this)),this.$1.hasSeenClick()&&this.$3()}var c=a.prototype;c.$3=function(){var a=this.$1.getOption("CommercialBreakVideoAdOverlay","videoController");if(this.$1.isState("playing")){if(this.$1.getOption("VideoWithLiveBroadcast","isLive")||a&&a.getOption("VideoWithLiveBroadcast","isLive")||this.$4()||this.$5())return;this.$1.pause("user_initiated")}else b("logVideosClickTracking")(this.$2),this.$1.play("user_initiated")};c.$4=function(){var a=this.$1.getOption("CommercialBreakVideoAdOverlay","videoController");a=a&&a.getOption("VideoWithInstreamVideo","controller");return a&&!a.getConfig().canPauseAdBreak};c.$5=function(){return this.$1.getOption("VideoWithInstreamVideo","disableClickToPause")};return a}();e.exports=a}),null); __d("WWWEmbeddedVideoAPIComponent",["AgnosticEmbeddedVideoApiComponent","Arbiter","UnverifiedXD"],(function(a,b,c,d,e,f,g){a=function(a){var b=this;this.$1=a;this.$2=new(c("AgnosticEmbeddedVideoApiComponent"))(c("UnverifiedXD").send.bind(c("UnverifiedXD")),c("Arbiter").subscribe.bind(c("Arbiter")));this.$2.addListener("play",function(){b.$1.play("embedded_video_api_initiated")});this.$2.addListener("pause",function(){b.$1.pause("embedded_video_api_initiated")});this.$2.addListener("seek",function(a,c){b.$1.seek(c.target)});this.$2.addListener("mute",function(){b.$1.mute()});this.$2.addListener("unmute",function(){b.$1.unmute()});this.$2.addListener("setVolume",function(a,c){b.$1.setVolume(c.volume)});this.$1.addListener("stateChange",function(){if(b.$1.isState("ready")){var a={isMuted:b.$1.isMuted(),volume:b.$1.getVolume(),timePosition:b.$1.getCurrentTimePosition(),duration:b.$1.getPlaybackDuration()};b.$2.notifyVideoAPIReady(a)}else b.$1.isState("playing")?b.$2.notifyStartedPlaying():b.$1.isState("paused")?b.$2.notifyPaused():b.$1.isState("finished")&&b.$2.notifyFinishedPlaying()});this.$1.addListener("updateStatus",function(a){if(a.position!==void 0){a={timePosition:a.position};b.$2.notifyStateUpdate(a)}});this.$1.addListener("buffering",function(){b.$2.notifyStartedBuffering()});this.$1.addListener("buffered",function(){b.$2.notifyFinishedBuffering()});this.$1.addListener("error",function(){b.$2.notifyError()});this.$1.addListener("updateMetadata",function(a){a={duration:b.$1.getPlaybackDuration()};b.$2.notifyStateUpdate(a)});this.$1.addListener("muteVideo",function(){var a={isMuted:!0};b.$2.notifyStateUpdate(a)});this.$1.addListener("unmuteVideo",function(){var a={isMuted:!1};b.$2.notifyStateUpdate(a)});this.$1.addListener("changeVolume",function(a){a={volume:a.volume,isMuted:a.volume===0};b.$2.notifyStateUpdate(a)});if(!this.$1.isState("loading")&&!this.$1.isState("fallback")){a={isMuted:this.$1.isMuted(),volume:this.$1.getVolume(),timePosition:this.$1.getCurrentTimePosition(),duration:this.$1.getPlaybackDuration()};this.$2.notifyVideoAPIReady(a)}};g["default"]=a}),98); __d("decodeTrackingNode",["TrackingNodeConstants"],(function(a,b,c,d,e,f,g){"use strict";function a(a){if(a.length===0)return[0];var b=function(a,b,e){var c=0;for(var f=b;f=d("TrackingNodeConstants").BASE_CODE_START&&a.charCodeAt(f)<=d("TrackingNodeConstants").BASE_CODE_END))return null;c=c*d("TrackingNodeConstants").BASE_CODE_SIZE+(a.charCodeAt(f)-d("TrackingNodeConstants").BASE_CODE_START)}return c},c=function(a,c){if(c>=a.length)return[null,c];var e=c,f=null,g=0;switch(a.charCodeAt(0)){case d("TrackingNodeConstants").ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE:f=b(a,c,2);g=d("TrackingNodeConstants").TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING;e+=2;break;case d("TrackingNodeConstants").ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE:f=b(a,c,3);g=d("TrackingNodeConstants").TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING+Math.pow(d("TrackingNodeConstants").BASE_CODE_SIZE,2);e+=3;break;default:return[null,c]}return f===null?[null,c]:[g+(f!=null?f:0)+1,e]},e=a.charCodeAt(0),f=1,g=0,h=0,i=0;if([d("TrackingNodeConstants").ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE,d("TrackingNodeConstants").ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE].includes(e)){var j;c=c(a,f);if(c[0]===null)return[0];i=(j=c[0])!=null?j:-1;f=c[1]}else{if(e>=d("TrackingNodeConstants").PREFIX_CODE_START&&e<=d("TrackingNodeConstants").PREFIX_CODE_END){if(a.length===1)return[0];h=e-d("TrackingNodeConstants").PREFIX_CODE_START+1;g=a.charCodeAt(1);f=2}else h=0,g=e;if(gd("TrackingNodeConstants").BASE_CODE_END)return[0];i=h*d("TrackingNodeConstants").BASE_CODE_SIZE+(g-d("TrackingNodeConstants").BASE_CODE_START)+1}if(a.length>f+2&&a.charAt(f)==="#"&&a.charAt(f+1)>="0"&&a.charAt(f+1)<="9"&&a.charAt(f+2)>="0"&&a.charAt(f+2)<="9")return[f+3,[i,parseInt(a.charAt(f+1)+a.charAt(f+2),10)+1]];return a.length>f&&a.charAt(f)>="0"&&a.charAt(f)<="9"?[f+1,[i,parseInt(a.charAt(f),10)+1]]:[f,[i]]}g["default"]=a}),98); __d("destroyOnUnloadWWW",["Run"],(function(a,b,c,d,e,f,g){function a(a){return d("Run").onLeave(a)}g["default"]=a}),98); __d("useHeroBootloadedComponent",["CometHeroInteractionContext","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useEffect;function a(a){var b=d("react-compiler-runtime").c(4),e=i(c("CometHeroInteractionContext").Context),f,g;b[0]!==e||b[1]!==a?(f=function(){e.consumeBootload(a.getModuleId())},g=[e,a],b[0]=e,b[1]=a,b[2]=f,b[3]=g):(f=b[2],g=b[3]);j(f,g)}g["default"]=a}),98);